• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

andela / healthchecks-invincibles / 89 / 4
78%
master: 80%

Build:
Build:
LAST BUILD BRANCH: develop
DEFAULT BRANCH: master
Ran 07 Sep 2017 03:22PM UTC
Files 88
Run time 8s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

07 Sep 2017 02:41PM UTC coverage: 81.059% (+0.4%) from 80.633%
DB=sqlite

push

travis-ci

andela-jmwalo
#150798548 Api tests (#8)

* test(userModel): test to update user

- test to update the user permissions of an existing user as staff
- test to update the user permissions of an existing user as a superuser

[Finishes #150627412]

* test(Channel): test successful channel creation

- test for creating a channel and assertion for valid fields-kind

[Delivers #150627412]

* test(Check): test successful Check creation and badge

- test for badge request, status codes for bad and successful requests depict right urls passed

[Delivers #150627412]

* test(Check): test tags list for check

- test for space separated string which will return the list of check tags
- test for an empty string, it returns an empty string whose length is 0

[Delivers #150627412]

* test(Check): test check creation not in grace period

- when a new check is created, esnure it is not in grace period

[Delivers #150627412]

* test(createCheck): test create check

- Assert that the expected error is the response error
- Assert the expected last_ping and n_pings values
- Accept api_key passed as header
- Test post request with a missing body
- Test the post request with invalid json data type
- Test for an invalid api_key passed
- Test for none string name and none number timeout
- Test for the assignment of channels
- Test for the 'timeout is too small' and 'timeout is too large' errors

[Delivers #150627412]

* test(createCheck): test create check

- Assert that the expected error is the response error
- Assert the expected last_ping and n_pings values
- Accept api_key passed as header
- Test post request with a missing body
- Test the post request with invalid json data type
- Test for an invalid api_key passed
- Test for none string name and none number timeout
- Test for the assignment of channels
- Test for the 'timeout is too small' and 'timeout is too large' errors

* test(createCheck): fix json on create_check

-

* test(createCheck): fix JSON object must be string not byte on create_check

-

* ch(requirements):Update requirements.txt file
- Installed mock

* bg(tests):Add tests to test_pause.py

* update tests

* test(EnsureTriggers): test for alert before and after trigger

-

* test(ListChecks): test that it works
- assert expected length of checks
- assert checks values

* test(api tests): add tests to PauseTestCase
- assert expected status code
- add test for allowing only post requests

* test(test): Add tests to PingTestCase
- assert the expected  response status code

* test(userModel): test to update user

- test to update the user permissions of an existing user as staff
- test to update the user permissions of an existing user as a superuser

[Delivers #150627412]

* test(Channel): test successful channel creation

- test for creating a channel and assertion for valid fields-kind

[Delivers #150627412]

* test(Check): test successful Check creation and badge

- test for badge request, status codes for bad and successful requests depict right urls passed

[Delivers #150627412]

* test(Check): test tags list for check

- test for space separated string which will return the list of check tags
- test for an empty string, it returns an empty string whose length is 0

[Delivers #150627412]

* test(Check): test check creation not in grace period

- when a new check is created, esnure it is not in grace period

[Delivers #150627412]

* test(createCheck): test create check

- Assert that the expected error is the response error
- Assert the expected last_ping and n_pings values
- Accept api_key passed as header
- Test post request with a missing body
- Test the post request with invalid json data type
- Test for an invalid api_key passed
- Test for none string name and none number timeout
- Test for the assignment of channels
- Test for the 'timeout is too small' and 'timeout is too large' errors

[Delivers #150627412]

* test(createCheck): test create check

- Assert that the expected error is the response error
- Assert the expected last_ping and n_pings values
- Accept api_key passed as header
- Test post request with a missing body
- Test the post request with invalid json data type
- Test for an invalid api_key passed
- Test for none string name and none number timeout
- Test for the assignment of channels
- Test for the 'timeout is too small' and 'timeout is too large' errors

* test(createCheck): fix json on create_check

-

* test(createCheck): fix JSON object must be string not byte on create_check

-

* bg(tests):Add tests to test_pause.py

* update tests

* test(EnsureTriggers): test for alert before and after trigger

-

* test(notify test): tests that webhooks handles connection errors

* test(EnsureTriggers): test for alert before and after trigger

-

* test(EnsureTriggers): fix merge conflict

-

* test(EnsureTriggers): fix ascii error

-

* test(pausetests): add test to allow post requests

* test(pingtests): test that when a ping is made a check with a paused status changes status

* refactor(list checks): edit file to match remote

* test(ping tests): add more tests
- add tests to show csrf client works

* test(sendalerttests): add more tests for send alerts
- Assert when Command's handle many that when handle_many should return True

* test(userModel): test to update user

- test to update the user permissions of an existing user as staff
- test to update the user permissions of an existing user as a superuser

[Delivers #150627412]

* test(Channel): test successful channel creation

- test for creating a channel and assertion for valid fields-kind

[Delivers #150627412]

* test(Check): test successful Check creation and badge

- test for badge request, status codes for bad and successful requests depict right urls passed

[Delivers #150627412]

* test(Check): test tags list for check

- test for space separated string which will return the list of check tags
- test for an empty string, it returns an empty string whose length is 0

[Delivers #150627412]

* test(Check): test check creation not in grace period

- when a new check is created, esnure it is not in grace period

[Delivers #150627412]

* test(createCheck): test create check

- Assert that the expected error is the response error
- Assert the expected last_ping and n_pings values
- Accept api_key passed as header
- Test post request with a missing body
- Test the post request with invalid json data type
- Test for an invalid api_key passed
- Test for none string name and none number timeout
- Test for the assignment of channels
- Test for the 'timeout is too small' and 'timeout is too large' errors

[Delivers #150627412]

* test(createCheck): test create check

- Assert that the expected error is the response error
- Assert the expected last_ping and n_pings values
- Accept api_key passed as header
- Test post request with a missing body
- Test the post request with invalid json data type
- Test for an invalid api_key passed
- Test for none string name and none number timeout
- Test for the assignment of channels
- Test for the 'timeout is too small' and 'timeout is too large' errors

* test(createCheck): fix json on create_check

-

* test(createCheck): fix JSON object must be string not byte on create_check

-

* ch(requirements):Update requirements.txt file
- Installed mock

* bg(tests):Add tests to test_pause.py

* update tests

* test(EnsureTriggers): test for alert before and after trigger

-

* test(ListChecks): test that it works
- assert expected length of checks
- assert checks values

* test(api tests): add tests to PauseTestCase
- assert expected status code
- add test for allowing only post requests

* test(test): Add tests to PingTestCase
- assert the expected  response status code

* test(userModel): test to update user

- test to update the user permissions of an existing user as staff
- test to update the user permissions of an existing user as a superuser

[Delivers #150627412]

* test(Check): test successful Check creation and badge

- test for badge request, status codes for bad and successful requests depict right urls passed

[Delivers #150627412]

* test(createCheck): test create check

- Assert that the expected error is the response error
- Assert the expected last_ping and n_pings values
- Accept api_key passed as header
- Test post request with a missing body
- Test the post request with invalid json data type
- Test for an invalid api_key passed
- Test for none string name and none number timeout
- Test for the assignment of channels
- Test for the 'timeout is too small' and 'timeout is too large' errors

[Delivers #150627412]

* test(createCheck): test create check

- Assert that the expected error is the response error
- Assert the expected last_ping and n_pings values
- Accept api_key passed as header
- Test post request with a missing body
- Test the post request with invalid json data type
- Test for an invalid api_key passed
- Test for none string name and none number timeout
- Test for the assignment of channels
- Test for the 'timeout is too small' and 'timeout is too large' errors

* test(createCheck): fix json on create_check

-

* test(createCheck): fix JSON object must be string not byte on create_check

-

* bg(tests):Add tests to test_pause.py

* update tests

* test(EnsureTriggers): test for alert before and after trigger

-

* test(notify test): tests that webhooks handles connection errors

* test(EnsureTriggers): test for alert before and after trigger

-

* test(EnsureTriggers): fix merge conflict

-

* test(EnsureTriggers): fix ascii error

-

* test(pausetests): add test to allow post requests

* test(pingtests): test that when a ping is made a check with a paused status changes status

* refactor(list checks): edit file to match remote

* test(ping tests): add more tests
- add tests to show csrf client works

* test(sendalerttests): add more tests for send alerts
- Assert when Command's handle many that when handle_many should return True

* test(apitest): api test refactoring

* pull

* bg(api_test): refactoring the tests
- ensure the keyword names have meaning
[Delivers #150798548]

1562 of 1927 relevant lines covered (81.06%)

0.81 hits per line

Source Files on job 89.4 (DB=sqlite)
  • Tree
  • List 0
  • Changed 4
  • Source Changed 1
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 89
  • Travis Job 89.4
  • 9342bf72 on github
  • Prev Job for DB=sqlite on develop (#77.1)
  • Next Job for DB=sqlite on develop (#110.4)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc