You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Move into thecore project, install all the dependencies, and build the project to compile all the TypeScript code:
cd syntest-frameworknpm installnpm run build
Move into thejavascript project, install all the dependencies, link the dependencies contained within thecore to the local version, and build the project to compile all the TypeScript code.
cd syntest-javascriptnpm install./link.shnpm run build
Move into thebenchmark project and call the local:install script:
cd syntest-javascript-benchmarknpm run local:install
This will link the core and javascript project to the current node_modules folder.
Note: this will also initiate the git submodules and install dependencies of the benchmark projects.
Run the tool
npx syntest javascripttest
Configuration
Benchmark Project Selection
The file.syntest-projects.json contains the different configurations needed to run the various benchmarks contained in this project:
CommanderJS
Express
JavaScript Algorithms
Lodash
Moment
These configurations can be manually provided on the CLI or pasted into the.syntest.json config. As basic configuration is provided by default in the.syntest.json config.
Search Algorithm Selection
There are various presets:
DynaMOSA
MOSA
NSGAII
That configure all the parameters for that algorithm.
Additionally, users can configure all parameters themselves by providing the individual configuration paramaters:
search-algorithm
population-size
objective-manager
secondary-objective
crossover
procreation
sampler
Search Budget Selection
By default the search algorithm will run until all objectives are covered. It is recommanded to provide an additional search budget that constraints the time the search algorithm has. The framework provides the following budgets:
total-time
search-time
iterations
evaluations
About
Provides a benchmarking environment for testing SynTest-JavaScript