Skip to content

mt-sergio/mocha-lambda-reporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Useful for test your live AWS lambdas and obtain how long they spent depending of the memory and the number of times

INSTALL

npm install --save-dev mocha-lambda-reporter

FEATURES

Creates new Reporter called mocha-lambda-reporter based on Spec. Example:

mocha -t 30000 -R mocha-lambda-reporter -u mocha-lambda-ui -c tests/live/**/*.js;

It should be used with mocha-lambda-ui to see the invokation time

EXAMPLE

λ(module-function)
 Check response
┌───┬────────┬────────┬────────┬────────┐
│ ✓ │ 128    │ 512    │ 1024   │ 1536   │
├───┼────────┼────────┼────────┼────────┤
│ 1 │ 438.68 │ 500.06 │ 440.85 │ 387.18 │
├───┼────────┼────────┼────────┼────────┤
│ 2 │ 811.35 │ 458.89 │ 426.82 │ 415.50 │
├───┼────────┼────────┼────────┼────────┤
│ 3 │ 482.55 │ 440.43 │ 777.20 │ 402.40 │
└───┴────────┴────────┴────────┴────────┘

About

Mocha Lambda Reporter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published