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

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

Build:
Build:
LAST BUILD BRANCH: develop
DEFAULT BRANCH: master
Ran 07 Sep 2017 03:19PM UTC
Jobs 6
Files 88
Run time 4min
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

pending completion
89

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]

1571 of 1927 relevant lines covered (81.53%)

4.86 hits per line

Jobs
ID Job ID Ran Files Coverage
1 89.1 (DB=sqlite) 07 Sep 2017 03:19PM UTC 0
81.06
Travis Job 89.1
2 89.2 (DB=mysql) 07 Sep 2017 03:19PM UTC 0
81.06
Travis Job 89.2
3 89.3 (DB=postgres) 07 Sep 2017 03:20PM UTC 0
80.95
Travis Job 89.3
4 89.4 (DB=sqlite) 07 Sep 2017 03:22PM UTC 0
81.06
Travis Job 89.4
5 89.5 (DB=mysql) 07 Sep 2017 03:22PM UTC 0
81.06
Travis Job 89.5
6 89.6 (DB=postgres) 07 Sep 2017 03:23PM UTC 0
80.95
Travis Job 89.6
Source Files on build 89
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #89
  • 9342bf72 on github
  • Prev Build on develop (#77)
  • Next Build on develop (#110)
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