Releases: rahmatagungj/owntest
OwnTest
OwnTest
I realeasing this package to NPM Package, so you can install that.
OwnTest
Now you can create your own configuration by following steps:
- create
owntest.config.json
file in your project root folder. - edit
owntest.config.json
file as following:"testPath": "__test__"
- path to test folder."testIgnore": ["node_modules"]
- list of folder to ignore."mode": "production"
- mode of your ownTest."autoUpdate": true | false
- auto update your ownTest.
- run
owntest.js
to run all test.
And i add automatic update (beta) just for development mode.
OwnTest
Im add strictly equal, ex:
expect(actual).toStrictEqual(expected)
Expects that the actual value is strictly equal to the expected value.
OwnTest
In this version i rewrite all script with typescript base and use new compiler (webpack) to build owntest to production ready. That can improve file size and performance to load any tests file.
check documentation on OwnTest Website
OwnTest
Hello there, i make some update in this version.
Setup and Teardown
You can use it in your test file for setup work that needs to happen before each test and teardown work that needs to happen after each test.
Asynchronous Runner
In this version all test will be run with asynchronous methode, so you can see all result of the test by test suites.
Documentation Release
You can see all documentation (web version) here.
Thank you
OwnTest
On V0.0.3
now you can use toEqual()
and also Initialize ownTest project with node owntest.js init
.
This is new help menu:
Usage:
owntest [options]
Options:
init : initialize ownTest
--test : run a single test file
-h | --help : show help
-v | --version : show version
OwnTest
Is this version i optimize main code and structuring file execution.
OwnTest
Simple JavaScript Testing Framework with only one file and zero dependencies.
Methods
All of the methods below can be used with a negation format like not()
, example:
// normal
expect(1).toBe(1);
// negation
expect(1).not().toBe(2);