Skip to content
This repository has been archived by the owner on Mar 10, 2024. It is now read-only.

Tests for Endpoints #1

Closed
4 tasks done
Kwbmm opened this issue Jun 23, 2020 · 1 comment
Closed
4 tasks done

Tests for Endpoints #1

Kwbmm opened this issue Jun 23, 2020 · 1 comment
Labels

Comments

@Kwbmm
Copy link
Owner

Kwbmm commented Jun 23, 2020

Should write tests for endpoints

  • Login
  • Shows
  • Show
  • Episode
@Kwbmm Kwbmm added the testing label Jun 23, 2020
@Kwbmm
Copy link
Owner Author

Kwbmm commented Jun 23, 2020

Partially depends on #3

Kwbmm added a commit that referenced this issue Jun 30, 2020
Kwbmm added a commit that referenced this issue Jul 1, 2020
Kwbmm added a commit that referenced this issue Jul 1, 2020
  - Test retrieval of followed shows
  - Test retrieval of seasons of one followed show
  - Properly return cookies when adding new shows
  - Slightly change naming in test config.json
Kwbmm added a commit that referenced this issue Jul 8, 2020
  - Load expected data at setUpClass
  - Remove load of expected data in single methods
Kwbmm added a commit that referenced this issue Jul 8, 2020
  - Load expected data at setUpClass
  - Remove load of expected data in single methods
  - Use randrange instead of randint
Kwbmm added a commit that referenced this issue Jul 9, 2020
  - Add coverage.py package
  - Add coveralls
Kwbmm added a commit that referenced this issue Jul 13, 2020
  - Move existing tests testing single show, that were run in test_shows.py, into test_single_show.py
  - Use integers instead of string for show ids
  - Test a show can be followed
  - Test a show can be unfollowed
Kwbmm added a commit that referenced this issue Jul 13, 2020
  - Move setUpClass method to BaseTestClass.py
  - Make test classes inherit from BaseTestClass
  - Fix test_single_show.py tests not returning the correct number of shows
Kwbmm added a commit that referenced this issue Jul 13, 2020
  - Change season and episode ids to integer
  - Test that episode can be marked as watched and unwatched
@Kwbmm Kwbmm closed this as completed Jul 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant