Commit Graph

193 Commits

Author SHA1 Message Date
nprimo ab38fc622a refactor(friend-support): start and kill server for each test 2022-12-05 16:34:12 +00:00
nprimo d3fa6a5355 feat(friend-support): add random factor to tests 2022-12-05 16:34:12 +00:00
nprimo 446924e348 refactor(friend-support): implement suggested changes
- remove unused import statements and variables
- improve variables naming
- deconstruct objects used as inputs
2022-12-05 16:34:12 +00:00
nprimo e2ece47510 feat(Dockerfile): update apline version use
Update alpine version used to build Docekr Container to have node
v18.x to be able to use fetch
2022-12-05 16:34:12 +00:00
nprimo 380ad0dc3e feat(friend-support_test): update tests 2022-12-05 16:34:12 +00:00
nprimo 50c73c0af3 feat(friend-support): add draft test
- currently working only with `guests` provided directory
in public/js/tests dir -> test must be able to get `guests` dir
from student repo
- need to check if there are more cases to test
2022-12-05 16:34:12 +00:00
nprimo f179d6e09f feat(tests): update script to use fetch in node tests 2022-12-05 16:34:12 +00:00
nprimo c0d3cddadc fix(keycodes-symphony-dom test): redefine function 2022-11-15 10:35:54 +00:00
nprimo 2f4900d8d2 test(primitives): Add new tests to check if variables are constant 2022-09-02 12:09:04 +01:00
nprimo ec55a11e80 test(declarations): Add new tests to check if variables are constat 2022-09-02 12:09:04 +01:00
Christopher Fremond 92294a7f4d
Update bring-it-to-life-dom_test.mjs
remving the comment I added for demo purposes
2022-08-08 10:49:24 +01:00
Christopher Fremond 5cca789fd1
Update bring-it-to-life-dom_test.mjs
adding a comment to trigger a pull for testing the runner
2022-07-29 12:26:41 +01:00
Christopher Fremond 88c3cc52a9
Update bring-it-to-life-dom_test.mjs
removing a comment to trigger an update
2022-07-27 16:04:37 +01:00
Christopher Fremond c726f13e09
Update bring-it-to-life-dom_test.mjs
Adding a comment to trigger an update
2022-07-27 15:38:59 +01:00
Christopher Fremond 61e9bcda0f
Update bring-it-to-life-dom_test.mjs
reformatting to test an update
2022-07-22 16:33:13 +01:00
Christopher Fremond 2d0a9a04c7
Update bring-it-to-life-dom_test.mjs
additional modification requested by Anthony (JPS)
2022-07-20 22:35:11 +01:00
Christopher Fremond 5dbc369084
Update bring-it-to-life-dom_test.mjs
Modification asked by Anthony for immediate update onsite (JPS)
2022-07-20 06:08:36 +01:00
Christopher Fremond c8e0689e1a
Update bring-it-to-life-dom_test.mjs
testing the modification of the image
2022-07-19 17:16:21 +01:00
Clément d3a3888d53
Remove unescessary test for JS files 2022-07-19 16:22:10 +01:00
Clément 722e7b670a
Add safety semicolon 2022-07-18 17:53:22 +01:00
Clement Denis 4c65e9e273 fix(js): replace base64 url trick by temp file
this fix some tests with new version of nodejs
2022-07-16 00:01:43 +01:00
Clement Denis 8573f049f2 Create a copy of the dom tests to js image 2022-07-11 22:14:12 +01:00
Clement Denis 711dabdb12 create editor version of init/hello-there for the origin piscine 2022-07-11 04:15:33 +01:00
davhojt 39ef371506 fix(get-some-time): add missing test case
for where sunday is the first day of the year.
2022-06-13 07:43:52 +03:00
davhojt 7350a3b4d6 fix(valid-ip) remove faulty expected result
max TCP IP is 65535, but we expected larger numbers to be found within the data set.
2022-06-10 15:21:25 +03:00
Clement Denis d8ec885b25 Update tests to handle unresolved promises 2022-05-10 16:41:24 +01:00
Clément d780d26483
Add more test cases for molecules-cells 2022-04-15 13:01:23 +01:00
Clément eb2579a9e9
Add more edge cases tests to split 2022-04-15 12:13:00 +01:00
Clément 2e712343bc
Add more restrictions to cut-corners
catch `>>`, `&`, `|` and `%`.
2022-04-15 11:54:09 +01:00
miguel 970d873a43 fixing public issues 2022-02-25 12:20:27 +00:00
miguel 52e7e7c129 fixing the tests of interpolation 2022-02-18 16:56:22 +00:00
miguel a622a6dc92 public issues 2022-02-18 12:41:49 +00:00
miguel 9a22c4b8b0 solving some issues on fusion and debounce exercises 2022-01-21 14:04:14 +00:00
Christopher Fremond 3b20d93e80
Update date-is_test.js
Fixing the future and past tests.

"the future is now, old man"
2022-01-13 10:18:42 +00:00
Clément 3c37510aa9
Create diamon_test.js 2021-11-03 13:31:00 +01:00
Clement Denis d57c9e3a21 discovery-js: add additional loop exercise 2021-05-05 23:51:33 +01:00
Clement Denis d3a8b56646 discovery-js: add more exercises 2021-05-05 23:27:11 +01:00
Clement Denis 8d2a02f417 add new picine-discovery exercises 2021-04-29 17:51:05 +01:00
Clement Denis 0e67e834e5 update discovery-piscine subjects and tests 2021-04-29 17:47:50 +01:00
Clement Denis 3a7568aa9f js: test runner for inline mode now also output the full tested code 2021-04-29 17:45:47 +01:00
Clement Denis 3cdfd1a34c discovery-piscine: update exercises and test 2021-04-12 03:15:36 +01:00
Clement Denis d7f3952913 discovery-piscine: update subjects 2021-03-31 18:25:24 +01:00
Clement Denis 7737d99668 js: fix missing variable 2021-03-29 12:05:34 +01:00
Clement Denis 6bb03c84b6 js: fix function tests (missing await) 2021-03-29 11:50:41 +01:00
Clement Denis 6fba7fb280 js: test.mjs handle json tests 2021-03-29 05:10:38 +01:00
Chris 5ff30bcf33 discovery-piscine: add subjects and tests
merge hello-there subject
2021-03-29 00:33:49 +01:00
Clement Denis 49be2798c0 js: fix issue with variable declaration in happiness-manager test 2021-03-14 00:45:01 +00:00
Louise Foussat 72f0d8a763 fix upperFirst in tell-me-who and tell-me-vip 2021-03-11 12:52:09 +00:00
Clement Denis cfaa8308ca apply prettier 2021-03-11 02:50:30 +00:00
Clement Denis 5b46cea96e fix crashing tests 2021-03-11 02:50:30 +00:00
Clement Denis 396cd4a71f Always use directory instead of both folder and directory 2021-03-11 02:50:30 +00:00
Clement Denis b5254e973b crash on file notfound instead of comparing strings 2021-03-11 02:50:30 +00:00
Clement Denis 141aa6d9d1 verydisco-forever: test & subject review 2021-03-11 02:50:30 +00:00
Clement Denis 7cf59f7507 verydisco-reverso: test and subject review 2021-03-11 02:50:30 +00:00
Louise Foussat cda257e763 💄 2021-03-11 02:50:30 +00:00
Clement Denis 1bfda49bb8 personal-shopper: prettier on README + rework on the test 2021-03-11 02:50:30 +00:00
Clement Denis 6e531663bb js: udpate node LTS version, add better errors and tools for random 2021-03-11 02:50:30 +00:00
Louise Foussat 25ab1365f2 rm big random in tell-me-who tests 2021-03-11 02:50:30 +00:00
Clement Denis f71ce9d07b tell-me-vip: remove randomnes 2021-03-11 02:50:30 +00:00
Louise Foussat 80512837ca update tests for verydisco exercises 2021-03-11 02:50:30 +00:00
Louise Foussat 1d069d43d4 details clean 2021-03-11 02:50:30 +00:00
Louise Foussat e6f8444a2f update tell-it-cypher tests 2021-03-11 02:50:30 +00:00
Louise Foussat 749c68c65a rework tell-me-vip-tests & subject 2021-03-11 02:50:30 +00:00
Louise Foussat 7e06b4c515 add one test to tell me how many - many more explicit for students 2021-03-11 02:50:30 +00:00
Louise Foussat 28a12d6af5 update tell-me-who tests 2021-03-11 02:50:30 +00:00
Louise Foussat a4f920a920 update tell-me-how-many subject and tests 2021-03-11 02:50:30 +00:00
Louise Foussat cea85c2ace add happiness manager subject and tests 2021-03-11 02:50:30 +00:00
Louise Foussat f2f85cd100 update test file, pass path to setup 2021-03-11 02:50:30 +00:00
Louise Foussat da1ca554fa add personal-shopper bonus subject and tests
nb: subject could ask to print new value in the file after rm or add of an elem. For now I didn't put it because it's already a lot. TO be discussed
2021-03-11 02:50:30 +00:00
Louise Foussat b0c9a3810f add tell-it-cypher subject and tests 2021-03-11 02:50:30 +00:00
Louise Foussat eb955b8d13 update tell-me-vip subject and tests -> ask to write a file with the vip list now instead of log it 2021-03-11 02:50:30 +00:00
Louise Foussat 6a09c80cf6 add tell-me-vip subject + tests 2021-03-11 02:50:30 +00:00
Louise Foussat fe67e63061 add tell me who subject + tests 2021-03-11 02:50:30 +00:00
Louise Foussat 722d2f5cd6 add tell-me-how-many subject + tests 2021-03-11 02:50:30 +00:00
Louise Foussat f8d01c34b8 update verydisco tests -> execute scripts in tmpdir 2021-03-11 02:50:30 +00:00
Louise Foussat ec0d5f7b34 piscine-js lite - node quest - exo 3: verydisco-reverso (add at least one test) 2021-03-11 02:50:30 +00:00
Louise Foussat 8568163a53 piscine-js lite - node quest - exo 2: verydisco-forever 2021-03-11 02:50:30 +00:00
Louise Foussat ef72862deb piscine-js lite - node quest - exo 1: verydisco 2021-03-11 02:50:30 +00:00
Clement Denis 4cfb47e6c2 fix for-each test 2021-03-10 03:46:30 +01:00
Clement Denis f60af6b597 add instructions to run tests locally for DOM & JS 2021-03-03 11:18:38 +00:00
Clement Denis 0f51ab905a js/test: improve prototype restoration, fix bug from nodejs upgrade 2021-03-02 19:13:06 +00:00
Clement Denis 31a9eafd54 fix: missing return in hello-there test and relative path 2021-03-01 12:37:10 +00:00
Clement Denis e15419eacc fix: use url encoded code in hello-there test 2021-03-01 12:23:36 +00:00
Clement Denis f02762f8c6 force module type JS piscine 2021-03-01 11:54:05 +00:00
Clément 1d7b6e6a2a Create hello-there_test.js 2021-03-01 11:22:59 +00:00
Clement Denis b68ea303ef js/tests: add test mode for nodeJS 2021-03-01 11:22:59 +00:00
Clément 53de2c9772
get-json_test.js fix after node version upgrade 2021-02-23 21:23:37 +00:00
Christopher Fremond 2e83184428 changed permissions to executable 2020-11-13 10:19:06 +00:00
xpetit 4cb9d7cdf8 Make tester work again (need to fix sh exercises with curl) 2020-11-04 21:00:55 +00:00
Clement Denis 16afd01662 js: add 5 ms delay to compensate from potentially slow server 2020-09-11 15:38:32 +02:00
Clement Denis 2d09cb2ca0 js: remove log from test 2020-09-11 15:17:30 +02:00
Clement Denis 4363b415f1 js: replace setInterval with sync loop for precision 2020-09-11 14:12:18 +02:00
Clement Denis 862a21fa3a js: increase delay to improve precision in tests 2020-09-10 10:36:43 +02:00
xpetit 38c7e95598
Put specific versions for Docker containers
This is done to remove potential bugs caused by a dependency change
Update the versions must be done manually and validated with automated tests
2020-08-05 14:38:59 +02:00
Clement Denis e1763bf1e3 js/test: typo 2020-07-23 18:22:51 +02:00
Clement Denis 44ec1b1b4d js/test: add join to prototype before assertion 2020-07-23 18:16:05 +02:00
Clement Denis 92eef96b62 js/test: add split to prototype before assertion 2020-07-23 18:11:45 +02:00
OGordoo 7cc80e6d1d
Merge pull request #631 from 01-edu/issue-fixs
content: issue fix
2020-06-29 10:48:01 +01:00
lee 777087a771 debounce: test correction 2020-06-25 09:41:26 +01:00
lee 498fdd9897 moving js test comments for students 2020-06-24 15:02:17 +02:00