Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Tutorial - How to write backend unit tests. #381

Open
U8NWXD opened this issue Aug 26, 2024 · 0 comments
Open

Create Tutorial - How to write backend unit tests. #381

U8NWXD opened this issue Aug 26, 2024 · 0 comments

Comments

@U8NWXD
Copy link
Member

U8NWXD commented Aug 26, 2024

Skills covered

Python, Writing unit tests to cover all the known corner cases, Running unit tests.

Similar issues

Existing relevant pages

https://github.com/oppia/oppia/wiki/Backend-tests

Example

Write a git patch file to remove some of the existing tests of profile_test file.

Scenario: You have just written code for a profile_test file and now you need to write unit tests to cover your code. Understand the code first, try to think of general cases and then corner cases. Make sure it follows best practices and test it by running them in your local machine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

2 participants