question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Transition testing framework from nose/chai to pytest

See original GitHub issue

nose and chai are not regularly updated anymore, so a transition to nose2 or pytest would be wise to explore.

For now, nose and chai seem to play fine with Python 2.7 through Python 3.8, but that could easily change in the future.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
jadchaarcommented, Jul 8, 2019

I have started to work on this transition and I ultimately decided on replacing Chai with Python Mock and nose with pytest.

We will see dependencies shift from nose, nose-cov, and chai to pytest, pytest-cov, and pytest-mock.

1reaction
andrewelkinscommented, Oct 31, 2019

I’ll take a crack at the migration. Would be great to replace nose since it’s essentially dead.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Effective Python Testing With Pytest
In this tutorial, you'll learn how to take your testing to the next level with pytest. You'll cover intermediate and advanced pytest ......
Read more >
Testing feature logic, transformations, and feature pipelines ...
Pytest is a unit testing framework for Python that is mainly used for writing ... to unit test transformation functions, and to test...
Read more >
Pytest - why it's more popular than unittest? - j-labs Blog
In my professional career I used to write tests with both frameworks: unittest and pytest . Both are great tools with certain pros...
Read more >
Testing Python Applications with Pytest - Semaphore Tutorial
This tutorial will demonstrate how to write tests for Python code with pytest, and how to utilize it to cater for a wide...
Read more >
Testing a Flask framework with Pytest - CircleCI
Pytest is a Python testing framework designed to assist developers with writing better systems and releasing them with confidence. Small and ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found