35225ada3c
fix(pico-sensor): path relative to root of project as GitLab need it
...
GitLab need a path from the root of the project even it's in a sub-folder
Signed-off-by: Klagarge <remi@heredero.ch >
2025-06-24 21:38:54 +02:00
b88f24385d
doc: add test environment section to README
...
Signed-off-by: Klagarge <remi@heredero.ch >
2025-06-24 21:26:09 +02:00
9c5840f400
doc: update contributor roles in README
...
Signed-off-by: Klagarge <remi@heredero.ch >
2025-06-24 21:26:09 +02:00
6e62e28be6
feat(gateway): add test routes
...
Return 100 last values to be sure that test have some values
Need to be refactor to merge both function. Now it's clearly a mess with duplicate code.
Signed-off-by: Klagarge <remi@heredero.ch >
2025-06-24 21:26:09 +02:00
caa29f2d25
feat(test): add test environnement
...
remove useless environnement variable
Signed-off-by: Klagarge <remi@heredero.ch >
2025-06-24 21:26:07 +02:00
c103e8c6b4
refactor: tiny polish
...
remove useless ports
add space
Signed-off-by: Klagarge <remi@heredero.ch >
2025-06-24 21:25:45 +02:00
Yann Sierro
25c999d143
Merge branch '37-fix-ci-e2e'
...
test(webapp): fix CI test E2E
Closes #37
See merge request team-raclette/project-softweng!22
2025-06-24 19:16:49 +00:00
fastium
b03368aa6f
test(webapp): update documentation
...
- Change the description about the environment test
2025-06-24 21:13:51 +02:00
fastium
4e5959fac4
test(webapp): provide an environment variable for e2e tests
2025-06-24 20:43:50 +02:00
Yann Sierro
9967aef1f5
Merge branch '36-tests-webapp'
...
test(web-app): provide valid test and CI
Closes #36
See merge request team-raclette/project-softweng!21
2025-06-24 16:12:01 +00:00
fastium
550d6fd776
chore(webapp): update documentation with class diagram
2025-06-24 17:33:41 +02:00
fastium
7e76712e33
chore(webapp): update documentation with new environment variable
...
- modify existaing one with new names - add the URL and the PAGE
2025-06-24 17:33:41 +02:00
fastium
bbbc11704a
test(web-app): update documentation
...
- coverage description - how to run - problem E2E CI
2025-06-24 17:33:41 +02:00
fastium
9a43f49b03
test(webapp): add shortcut command to run tests
2025-06-24 17:33:41 +02:00
fastium
e436eb354b
test(webapp): provide tests in CI
...
- add url and page as env variables to choice where to test and update the others
- To pass a variable to a job's service, they have to be declared in the "variables" global -> doesn't work (see: [#37 ])
- use of the deployed image to do E2E test instead of services of gitlab
2025-06-24 17:33:41 +02:00
fastium
cecd04dd20
tests(web-app): serie unit tests
2025-06-24 17:33:41 +02:00
fastium
5e9f9d6ad2
tests(web-app): e2e invalid multiselect input
2025-06-24 17:33:41 +02:00
fastium
83008b42af
feat(web-app): control wrong multiselect input
...
- handle wraong multiselect input with a text which says "No data to
display"
2025-06-24 17:33:41 +02:00
fastium
bd503d5641
test(web-app): add e2e fetch process
...
It tests the normal request case of timeserie
2025-06-24 17:33:41 +02:00
e26e7722f9
Merge branch 'feat/pico-sensor/config-ci-cd'
...
CI(pico-sensor): added automated test job (currently commented because we had to give back all pico-sensor boards)
Closes #17
See merge request team-raclette/project-softweng!20
2025-06-24 17:27:55 +02:00
SylvanArnold
253939973f
fix(pico-sensor): removed tes-results xml file
2025-06-24 17:24:55 +02:00
SylvanArnold
704c860b84
doc(pico-sensor): updated readme
2025-06-23 16:10:31 +02:00
SylvanArnold
d429c82ee2
fix(pico-sensor): commented entirely the test job
2025-06-23 16:10:31 +02:00
SylvanArnold
d1bce34dcf
fix(pico-sensor): commented stage
2025-06-23 16:10:31 +02:00
SylvanArnold
b5d98c7191
CI(pico-sensor): completely removed test from stages
2025-06-23 16:10:31 +02:00
SylvanArnold
47e4426f78
CI(pico-sensor): commented the test execution in pipeline
...
no pico board available to run the tests
2025-06-23 16:10:31 +02:00
SylvanArnold
6cea749e59
test(pico-sensor): removed MQTT tests that don't work
2025-06-23 16:10:31 +02:00
SylvanArnold
7bdef819e8
CI(pico-sensor): try to remove connect/disconnect test
2025-06-23 16:10:31 +02:00
SylvanArnold
79575234d3
CI: augmented test timeout
2025-06-23 16:10:31 +02:00
SylvanArnold
6c82e1e5ad
CI(pico-sensor): added pico-sensor stages in main gitlab ci yml file
2025-06-23 16:10:31 +02:00
SylvanArnold
c51c90d5dc
CI(pico-sensor): included pipeline correctly in main gitlab ci yml file
2025-06-23 16:10:31 +02:00
SylvanArnold
36a44ca6e5
fix(pico-sensor):removed test call
2025-06-23 16:10:31 +02:00
SylvanArnold
fed0288bee
fix(pico-sensor): removed a mqtt test
2025-06-23 16:10:31 +02:00
SylvanArnold
9267ef2a52
fix(pico-sensor): disconnect mqtt client before testing publish
2025-06-23 16:10:31 +02:00
SylvanArnold
e591516a4f
CI: added tests for mqtt, sensors, dns
2025-06-23 16:10:31 +02:00
SylvanArnold
0bb52a3a07
doc(pico-sensor): updated readme with remote tests informations
2025-06-23 16:10:31 +02:00
SylvanArnold
2a5b481d66
CI(pico-sensor): tunnel ID can now be set directly in the pipeline
2025-06-23 16:10:31 +02:00
SylvanArnold
1d05424721
CI(pico-sensor): added dummy test that always passes (to test if test run works)
2025-06-23 16:10:31 +02:00
SylvanArnold
adca10d0fb
CI(pico-sensor): only execute LED test for now
2025-06-23 16:10:31 +02:00
SylvanArnold
d8a5ce234e
CI(pico-sensor): added CD build/Test before running test job
2025-06-23 16:10:31 +02:00
SylvanArnold
5a3a7fcca3
CI(pico-sensor): added test job
2025-06-23 16:10:31 +02:00
SylvanArnold
29a8987eee
CI(pico-sensor): changed artifacts path
2025-06-23 16:10:31 +02:00
SylvanArnold
9cd8e2201c
fix(pico-sensor): spacing issue in ci
2025-06-23 16:10:31 +02:00
SylvanArnold
4c57f54f41
CI(pico-sensor): change directory in build job
2025-06-23 16:10:30 +02:00
SylvanArnold
23f11a3b87
CI(pico-sensor): added dockerfile to build pico-sensor image + created ci pipeline with build jobs
2025-06-23 16:10:30 +02:00
d8f4b9f918
Merge branch 'doc/polish-documentation'
...
Update documentation
See merge request team-raclette/project-softweng!19
2025-06-19 17:41:41 +02:00
01ad66daa8
doc: added project documentation
...
Add documentation according to the requirements of the project.
Including:
- Project flow (git flow or trunk-base flow)
- Architecture with Kruchten diagram (context+container)
- Explanation of points that deviate from requirements
- Detail information about how run each parts
Signed-off-by: Klagarge <remi@heredero.ch >
2025-06-15 11:25:09 +02:00
2426d8d8d1
refactor(doc): update Kruchten container
...
Update container view of the Kruchten 4+1 diagram to correspond to actual architecture of the project.
Signed-off-by: Klagarge <remi@heredero.ch >
2025-06-15 11:25:08 +02:00
110d425981
Merge branch '16-ci-cd-webapp'
...
test(web-app): units and e2e tests
Closes #16
See merge request team-raclette/project-softweng!18
2025-06-08 23:04:53 +02:00
fastium
25cefc611f
build(web-app): add tests to gitlab ci
2025-06-08 22:31:46 +02:00