Skip to content

Releases: adrienjoly/cours-nodejs-exercise-testers

Release 1.2.0

18 Jul 19:48
Compare
Choose a tag to compare
  • update to ava 3
  • more concise logs
  • highlight rejections/exceptions that should be handled by the evaluator

Correction copies partiel 2a webdev (2020-07)

18 Jul 19:41
9b7e112
Compare
Choose a tag to compare

Release 1.1.1

04 Apr 16:07
Compare
Choose a tag to compare
  • docs: mention tests (613f9cd)
  • refactor: simplify test script (c84802a)
  • fix(test): clean test logs + make git diff non interactive (f4f3ae4)
  • Fix: Make evaluation faster, by using a slimmer docker image (#7) (02d4727)
  • chores(ci): add GitHub Actions workflow to run tests on CI (#6) (be67132)
  • feat: npm test to return a non-zero error code if the output has changed (e31fbf7)
  • fix: also remove timings in milliseconds (13cdf3a)
  • fix: remove timings/durations expressed in seconds, from golden test snapshots (479d5af)
  • fix: hide sha hash from docker build (3d4d66b)
  • wip: npm test to run tests against exercise solutions (b4b4720)
  • security: don't let github token appear in logs (35a9a6f)
  • fix: reduce noise <= don't log docker building steps (e86eb13)
  • fix: run ava from script => $ npm test will test this repo's code instead (21adee9)
  • fix: remove missing PORT env var + update usage/examples (bcaa615)

Release 1.1.0

04 Apr 13:26
Compare
Choose a tag to compare
  • fix: .env to export GITHUB_TOKEN env var, for release-it (e8e90c9)
  • chores: setup release-it, to keep track of versions (e043286)
  • fix: ava to run tests in the increasing order, if wildcard is included in TESTER (796a441)
  • fix: ex-1-5 test to run npm install and npm start itself (9561e3c)
  • refactor: move waitUntilServerRunning() to runInDocker.js (c54a9d2)
  • feat: let tests specify which commands to run in the container closes #3. (81fefb2)
  • refactor: extract start-student-server.sh from test-in-docker-from-dir.sh ... towards letting test files run that script if (and when) they need it (863174e)
  • fix: clone a sufficient number of commits, for ex-1-*.js tests to pass (33683c3)
  • docs: procédure pour séparer les étapes de téléchargement et évaluation (c32b260)
  • fix: forcer l'ordre d'execution des tests (a26e0e4)
  • feat: possibilité de télécharger les rendus, puis les évaluer plus tard (b07ffb3)
  • feat: allow teacher to change student's code before tests (2ad771d)
  • docs: add ./list-grades.sh to README (5f914ba)
  • fix way to get the name of js file (708e360)
  • fix: list-grades to also match singular of "tests" (9745185)
  • fix: test that réponses.json exists (7213848)
  • fix list-grades to not filter false matches (dbe9de5)
  • fix: give 1 second for student endpoints to reply (00a00c0)
  • feat: add script to list grades (e3d4fe0)
  • successfully tested against solution of ex-1-5 (fc1fb30)
  • additional api tests (27a6a83)
  • add all tests from exercise definition (407798d)
  • remove student code (54450e2)
  • WIP: test-ex-1-5.js (1753d6b)
  • feat: specify github branch and token (2dc1613)
  • fix typos (35e6c89)
  • fix: prevent docker cache, so latest commits can be fetched on re-run (8bcb6da)
  • refact: extract runInDocker.js, for re-use (c5668ff)
  • rename test.js --> test-ex-1-3.js (bf783d4)
  • prepare to specify a different tester (1711473)
  • finalisation et documentation pour évaluateur d'exercices 1-3 (7270836)
  • fix: adapt to js file specified in package.json (e.g. server.js) (50e65d3)
  • fix: display server logs + let tests run, even if server fails (b45bb47)
  • improve logs for batch processing (d6cf865)
  • ignore dockerfile (generated) (83a44bc)
  • add script to run tests on student's server even if it does not work (cbda398)
  • fix: preventively stop previous running app (999421e)
  • fix: don't wait for app to be healthy if an error was returned (ede921f)
  • fix: also exit run-in-docker-from-git.sh early if docker image failed to build (6abb9ad)
  • feat: reduce timeout (bd1b672)
  • fix: adapt message and exit code according to state (3f1a9fb)
  • feat: run-in-docker-from-git waits for server to be up on given port (15e6fc1)
  • improve feedback on failed matching tests (ffe67ef)
  • fix vscode config (147435f)
  • clarify test names (bf1491b)
  • add README (77c2cd5)
  • fix: messages d'erreur plus concis (1221dea)
  • fix: execution plus tolérante depuis docker (e28aae7)
  • fix: prevent non-200 codes from logging a big error (aedee8e)
  • fix the counting of files (acfb4dc)
  • fix: make just test fail if docker command fails (cca26a2)
  • fix: exit and delete docker container on ctrl-c (f857f46)
  • version utilisée pour notation des étudiants (d476d61)
  • implement tests (baadac8)
  • initial: node+eslint+prettier+ava boilerplate (8c053de)