-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(k6): Fix function context test (#9358)
**Changes** 1. Fixes the function context test to be correct - it should fail and it does. 2. Adds a final output which shows the pass/fail of each test. 3. Is no longer verbose by default. 4. Is now run with `yarn test:k6` rather than `yarn benchmark` as it's not really benchmarking so to speak. **Future/Maybe here** 1. Update to include a server file version of the testing. **Notes** 1. This isn't the most elegant of code but I'll update to address that above point before I refactor it to be all nice and tidy.
- Loading branch information
1 parent
a070dac
commit 91270ed
Showing
17 changed files
with
339 additions
and
303 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# K6 Task | ||
|
||
## Usage | ||
``` | ||
yarn test:k6 [project-directory] | ||
``` | ||
|
||
You can pass additional command line options if you need specific behaviour. These are documented in the `--help` output of the above command. The source code within `run-k6-tests.mts` will also be helpful in understanding the behaviour. |
Oops, something went wrong.