sr_test_framework
TypeScript icon, indicating that this package has built-in type declarations

1.0.24 • Public • Published

typescript testing framework

interfaces

  • iTestResultItem
export interface iTestResultItem
{
  expected?: string,
  actual?: string,
  category?: string,
  method?: string,
  aspect?: string,
  desc?: string
}

tester methods

  • testResults_consoleLog( iTestResultItem[] )

  • testResults_append( iTestResultItem[], passText, failText, method )

    • method argument can be object with method and aspect properties.
  • testResults_append( results, { expected, results, method, aspect, desc, didFail })

  • iTestResultItem[] = testResults_new( )

publish instructions

  • increment version number in package.json
  • npm run build
  • npm run test
  • git add, commit, push to repo
  • npm publish
  • npm update in projects which use this package

testing

  • npm run test
  • or press F5, run task "run tester"

Readme

Keywords

none

Package Sidebar

Install

npm i sr_test_framework

Weekly Downloads

7

Version

1.0.24

License

ISC

Unpacked Size

19 kB

Total Files

8

Last publish

Collaborators

  • steverichter