Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
80 commits
Select commit Hold shift + click to select a range
16534e7
fix compiling bugs
rjarvi Nov 1, 2025
14f5ba5
setup fixes - tests not compiling yet
rjarvi Nov 2, 2025
9a30369
jetpack compose and ui automator set up with sample tests
anupsamy Nov 2, 2025
fee0b82
some basic test tesup
rjarvi Nov 2, 2025
632f2a3
passing all initial tests
rjarvi Nov 2, 2025
e5c829d
100% user controller and user model coverage
rjarvi Nov 2, 2025
62ff81f
cleaning and auth controller testing
rjarvi Nov 2, 2025
4690e51
full auth service coverage
rjarvi Nov 2, 2025
f4f45e9
merge
pham03 Nov 3, 2025
e3e5d64
test
pham03 Nov 3, 2025
f62706f
confirmed GroupManagementE2ETest.kt works
anupsamy Nov 3, 2025
d394091
Merge remote-tracking branch 'origin/main' into anu-testing
anupsamy Nov 3, 2025
8ff5da6
member settings e2e
pham03 Nov 3, 2025
dc940d9
testing
pham03 Nov 3, 2025
eaad4dc
test run
pham03 Nov 3, 2025
0c987b5
Working UpdateGroupTest
pham03 Nov 3, 2025
ea0c745
Working MemberSettingsE2E test and updated MemberSettingsScreen with …
pham03 Nov 3, 2025
59498a9
GroupDetailsE2E workign
pham03 Nov 3, 2025
73f5c53
rename func
pham03 Nov 3, 2025
fac4d5f
Select activity
pham03 Nov 3, 2025
93fd48e
location service tests
rjarvi Nov 3, 2025
8ff4157
view specific group, leave/delete group
anupsamy Nov 3, 2025
982683b
adding tests to pipeline
rjarvi Nov 3, 2025
d3dcbfb
add mongodb instance to test runner
rjarvi Nov 4, 2025
8802a5f
test mongo instance bug fixes
rjarvi Nov 4, 2025
5db80e8
back button issue cleared
anupsamy Nov 4, 2025
1b94323
error handler for MemberSettingsScreen
pham03 Nov 4, 2025
6a527b7
location optimizer non-functional tests
rjarvi Nov 4, 2025
c2f6d44
add separate pipeline for main testing
rjarvi Nov 4, 2025
4f6af7a
error implementation
pham03 Nov 4, 2025
8ca8e28
remove nfr tests from test cdci
rjarvi Nov 4, 2025
ffb4837
test with failing tests
rjarvi Nov 4, 2025
591f119
group details response time nfr tests
rjarvi Nov 4, 2025
65a9247
MemberSettingsE2E done
pham03 Nov 4, 2025
4cf6f2a
anu use cases done
anupsamy Nov 4, 2025
cc44d8f
tests for both leaders and users
pham03 Nov 4, 2025
92e03bf
Details screen E2E leader
pham03 Nov 4, 2025
aedb27c
no activity test for leader
pham03 Nov 4, 2025
5b9d918
blaire use cases done
pham03 Nov 4, 2025
db6e1db
get rid of duplicate view selected activity and recc loc
anupsamy Nov 4, 2025
de97715
test cleaning
rjarvi Nov 4, 2025
5393181
Merge branch 'blaire-testing' into anu-testing
anupsamy Nov 4, 2025
98c767d
group detail load nfr test
anupsamy Nov 4, 2025
21641cc
codacy files
anupsamy Nov 4, 2025
81dd21a
rebase onto robbie's branch
anupsamy Nov 2, 2025
cde1c52
mocked, unmocked tests for group, membership + activities
vidunikankan Nov 4, 2025
dcd838b
all tests run
vidunikankan Nov 4, 2025
b0094b4
add package
pham03 Nov 4, 2025
28f55b2
groupcontroller location endpoints, other test stuff
rjarvi Nov 4, 2025
80d7125
merging with backend test branch
pham03 Nov 4, 2025
4f9bc65
full group controller coverage
rjarvi Nov 4, 2025
1c45bc4
media service testing
rjarvi Nov 4, 2025
6daeda8
Codacy2 (#46)
anupsamy Nov 5, 2025
2a8861b
Merge branch 'main' into vi-tests-merging
rjarvi Nov 5, 2025
8225435
testing fixes
rjarvi Nov 5, 2025
2a1e7a0
small utils changes
rjarvi Nov 5, 2025
c208463
fix nfr tests
rjarvi Nov 5, 2025
20a57ac
Merge backend tests (#47)
rjarvi Nov 5, 2025
bc40773
merge frontend + e2e
vidunikankan Nov 5, 2025
ccb2a8c
M4: Frontend Test (#48)
pham03 Nov 5, 2025
ffcaffc
M4 group documentation (#49)
rjarvi Nov 5, 2025
79c71c7
removed news, hobbies, + logs (#43)
vidunikankan Nov 5, 2025
a88e359
Merge branch 'main' of https://github.com/anupsamy/SquadUp into vi-te…
rjarvi Nov 7, 2025
c1943db
rename test files
rjarvi Nov 7, 2025
9d317ca
user controller coverage
rjarvi Nov 7, 2025
70158b0
Codacy3 (#50)
anupsamy Nov 7, 2025
54acd25
100 group controller coverage
rjarvi Nov 7, 2025
0ac995d
group model coverage
rjarvi Nov 7, 2025
838f067
final coverage
rjarvi Nov 7, 2025
e967098
Merge branch 'main' of https://github.com/anupsamy/SquadUp into vi-te…
rjarvi Nov 7, 2025
2d12b54
Functioning app post-codacy (#52)
pham03 Nov 7, 2025
4d82b8b
Merge branch 'main' of https://github.com/anupsamy/SquadUp into vi-te…
rjarvi Nov 7, 2025
149e7b6
revert mediaservice
anupsamy Nov 7, 2025
223d515
temp additional changes - build errors
rjarvi Nov 7, 2025
115974f
tsconfig fixed
anupsamy Nov 7, 2025
fd88112
Merge branch 'vi-tests-merging' of https://github.com/anupsamy/SquadU…
anupsamy Nov 7, 2025
fe47684
Merge branch 'main' into vi-tests-merging
anupsamy Nov 7, 2025
d5251f3
media controller fix
rjarvi Nov 7, 2025
8903f67
backend working locally
anupsamy Nov 14, 2025
87487d0
Merge branch 'vi-tests-merging' of https://github.com/anupsamy/SquadU…
anupsamy Nov 14, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
416 changes: 416 additions & 0 deletions .eslintrc.json

Large diffs are not rendered by default.

38 changes: 37 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,50 @@ name: Deploy to EC2
on:
push:
branches:
- notif-update
- prod
- vi-tests-merging
paths:
- 'backend/**'
- '.github/workflows/deploy.yml'

jobs:
test:
runs-on: ubuntu-latest

services:
mongo:
image: mongo:7
ports:
- 27017:27017
options: >-
--health-cmd "mongosh --eval 'db.adminCommand({ping:1})' || exit 1"
--health-interval 10s
--health-timeout 5s
--health-retries 5

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
node-version: 20

- name: Install dependencies
working-directory: ./backend
run: npm ci

- name: Set up environment
working-directory: ./backend
run: |
echo "MONGODB_URI=mongodb://localhost:27017/testdb" >> .env

- name: Run tests
working-directory: ./backend
env:
MONGODB_URI: mongodb://localhost:27017/testdb
run: npm test

deploy:
needs: test #if tests fail will not deploy
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down
41 changes: 41 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Run Tests

on:
push:
branches:
- main
- robert-user-testing
pull_request:
branches:
- main

jobs:
test:
runs-on: ubuntu-latest

services:
mongo:
image: mongo:7
ports:
- 27017:27017
options: >-
--health-cmd "mongosh --eval 'db.adminCommand({ping:1})' || exit 1"
--health-interval 10s
--health-timeout 5s
--health-retries 5

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
node-version: 20

- name: Install dependencies
working-directory: ./backend
run: npm ci

- name: Run tests
working-directory: ./backend
env:
MONGODB_URI: mongodb://localhost:27017/testdb
run: npm test -- --testPathIgnorePatterns="nonfunctional"
203 changes: 0 additions & 203 deletions WEBSOCKET_TROUBLESHOOTING.md

This file was deleted.

4 changes: 3 additions & 1 deletion backend/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,6 @@ uploads/
ehthumbs.db
Thumbs.db

.idea/
.idea/

temp
Loading
Loading