cliffano / nestor

Jenkins CLI and node.js client
http://blog.cliffano.com/tag/nestor/
MIT License
181 stars 27 forks source link

Unit tests shouldn't require live Jenkins #50

Closed cliffano closed 7 years ago

cliffano commented 7 years ago

Some unit tests still fail when there's no Jenkins up and running. They should be mocked up.

Timeout: cli - exec | should pass URL as-is when there is no interactive arg specified
  Timed out after 250ms
  -> test function

Timeout: cli - exec | should use environment variable as Jenkins URL when there is no interactive arg specified and URL parameter is not specified
  Timed out after 250ms
  -> test function

Timeout: cli - exec | should pass username and password to Jenkins URL when interactive arg is set
  Timed out after 250ms
  -> test function
cliffano commented 7 years ago

Fixed in v2.0.0 since the switch from request/bagofrequest to swaggy-jenkins module.