1.0.24 • Published 2 years ago

sr_test_framework v1.0.24

Weekly downloads
5
License
ISC
Repository
github
Last release
2 years ago

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"
1.0.24

2 years ago

1.0.22

2 years ago

1.0.21

2 years ago

1.0.20

2 years ago

1.0.23

2 years ago

1.0.19

4 years ago

1.0.18

5 years ago

1.0.17

5 years ago

1.0.16

5 years ago

1.0.15

5 years ago

1.0.14

5 years ago

1.0.13

5 years ago

1.0.12

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago