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

Enhance testing and CI #3

Closed
achimnol opened this issue Feb 7, 2017 · 2 comments
Closed

Enhance testing and CI #3

achimnol opened this issue Feb 7, 2017 · 2 comments
Labels
area:infrastructure Infrastructure-related issues type:feature Add new features
Milestone

Comments

@achimnol
Copy link
Member

achimnol commented Feb 7, 2017

We are using pytest and Travis CI for testing and continuous integration.
However, we still have limited code coverage and the test cases are lagging behind due to eager feature additions and code refactoring.

The goal: raise the code coverage as much as possible, by adding or modifying test cases.

The benefits:

  • You will get familiar with unit testing on Python. We hope that you would feel natural to mkdir tests from the very beginning of all your future Python projects afterwards.
  • You will get guidances on how to write "good" tests as well as realistic tests with various techniques including mocks and virtual server/clients.

The challenges:

  • You need to understand how the code works and what is the intended behavior. The code may have bugs (of course) and you might find surprising mistakes!
  • Our codebase is changing fast, as we implement new features and refactor them at a fast pace. Modifying existing test cases may require some time-consuming repetitive work. Your editor/regex/scripting/typing skills would shine here.
  • The internal functions and APIs are not well-documented. Some small functions are trivial but others are not. You need a good communication skill to ask frequently and discuss with us.

Coverage:

  • You may choose all or subset of Sorna subprojects to work with.
  • sorna-media project also has Javascript codes; it will be also interesting if you want to play with testing on Javascript.

┆Issue is synchronized with this Asana task by Unito

@achimnol achimnol added this to the GSoC 2017 Ideas milestone Feb 7, 2017
@achimnol achimnol added python type:feature Add new features area:infrastructure Infrastructure-related issues labels Feb 8, 2017
@Myeongjoon
Copy link

Myeongjoon commented Sep 10, 2019

Hello.
I'm mentee at contributon 2019.
This issue seems outdated.
Is the issue still valid?

inureyes pushed a commit that referenced this issue Oct 28, 2019
add translation to admin-api.po
@achimnol achimnol modified the milestones: GSoC 2017 Ideas, Bank Jan 20, 2020
@achimnol
Copy link
Member Author

achimnol commented Feb 5, 2020

Integration tests: #144
Unit tests: will be rewritten gradually.

@achimnol achimnol closed this as completed Feb 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:infrastructure Infrastructure-related issues type:feature Add new features
Projects
None yet
Development

No branches or pull requests

2 participants