Skip to content

Releases: rahmatagungj/owntest

OwnTest

10 Mar 09:41
Compare
Choose a tag to compare

Now all test will be exit with code 1 if have any fail and i fix for bug on bad result testing.

OwnTest

08 Mar 11:07
Compare
Choose a tag to compare
OwnTest Pre-release
Pre-release

I realeasing this package to NPM Package, so you can install that.

https://www.npmjs.com/package/@rahmatagungj/owntest

OwnTest

08 Mar 10:00
Compare
Choose a tag to compare
OwnTest Pre-release
Pre-release

Now you can create your own configuration by following steps:

  1. create owntest.config.json file in your project root folder.
  2. 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.
  3. run owntest.js to run all test.

And i add automatic update (beta) just for development mode.

OwnTest

04 Mar 15:39
Compare
Choose a tag to compare
OwnTest Pre-release
Pre-release

Im add strictly equal, ex:

  • expect(actual).toStrictEqual(expected)

Expects that the actual value is strictly equal to the expected value.

OwnTest

23 Feb 13:25
Compare
Choose a tag to compare
OwnTest Pre-release
Pre-release

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

21 Feb 15:51
Compare
Choose a tag to compare
OwnTest Pre-release
Pre-release

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

19 Feb 14:53
Compare
Choose a tag to compare
OwnTest Pre-release
Pre-release

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

19 Feb 06:46
Compare
Choose a tag to compare
OwnTest Pre-release
Pre-release

Is this version i optimize main code and structuring file execution.

OwnTest

18 Feb 14:15
Compare
Choose a tag to compare
OwnTest Pre-release
Pre-release

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);