0.2.6 • Published 1 year ago
@ts.adligo.org/tests4j v0.2.6
tests4j.ts.adligo.org
A small portion of the Tests4j code implemented in Typescript directly.
Install with npm as usual;
npm install @ts.adligo.org/tests4j --save-dev
Import Into Your Code
import {ApiTrial, AssertionContext, Test, TrialSuite} from '@ts.adligo.org/tests4j'
Note the convention is a tests project with slinks, but can be anywhere.
Write your first TrialSuite, ApiTrial and Test
console.log('starting tests');
new TrialSuite('Your TrialSuite Name',[
new ApiTrial('Your ApiTrial Name', [
new Test('testSomething',(ac) => {
console.log('in testSomething');
as.isTrue(false,'This should be True!');
})
])
]).run();
console.log('tests finished');
Test this Project, Compile and Deploy;
Run the local tests
npm run test
Run the TypeScript Compile (creates a bin and dist folder)
npm run tsc
Deploy
This command deploys, after you have logged in to https://registry.npmjs.org/;
npm publish --access public
0.2.6
1 year ago
0.2.5
1 year ago
0.2.4
1 year ago
0.2.3
1 year ago
0.2.2
1 year ago
0.2.1
1 year ago
0.2.0
1 year ago
0.1.9
1 year ago
0.1.8
1 year ago
0.1.7
1 year ago
0.1.5
1 year ago
0.1.4
1 year ago
0.1.3
1 year ago
0.1.2
1 year ago
0.1.1
1 year ago
0.1.0
1 year ago
0.0.9
1 year ago
0.0.8
1 year ago
0.0.7
1 year ago
0.0.6
1 year ago
0.0.5
1 year ago
0.0.4
1 year ago
0.0.3
1 year ago
0.0.2
1 year ago
0.0.1
1 year ago