Testing
How to test your Derw code
To run tests, run `derw test` from the package directory
To watch use the --watch flag
--watch : Watch Derw files for changes
--function string: A particular function name to run
--file string: A particular file name to run
--only-fails : Only log failing tests
-h, --help : This help textWriting a test
Naming your file
Importing the testing functions
derw install --name derw-lang/stdlib --version mainimport "./Test" exposing ( equals, notEquals )Writing your test
In-browser tests


Last updated