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.

Add support for unittest

See original GitHub issue

Looks like pytest was expected No module named pytest. But some of the projects that I worked on uses unittest from python itself, is it possible for mutmut to support that?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:18 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
boxedcommented, Jul 29, 2020

Awesome! And damn good numbers you’ve got for not having done mutation testing before. Pretty impressive.

0reactions
boxedcommented, Jul 29, 2020

Checked and there are two actually. They use mutation schemas so they don’t need to recompile. I’ve fiddled with an implementation for mutmut to do that too actually.

Read more comments on GitHub >

github_iconTop Results From Across the Web

unittest — Unit testing framework — Python 3.11.1 ...
Unittest supports skipping individual test methods and even whole classes of tests. In addition, it supports marking a test as an “expected failure,”...
Read more >
How To Use unittest to Write a Test Case for a Function in ...
Tests written using the unittest module can help you find bugs in your programs, and prevent regressions from occurring as you change your...
Read more >
Getting Started With Testing in Python
In this in-depth tutorial, you'll see how to create Python unit tests, execute them, and find the bugs before your users do. You'll...
Read more >
A Gentle Introduction to Unit Testing in Python
That's the idea of a unit test! A unit test is a test that checks a single component of code, usually modularized as...
Read more >
[Feature] add support for unittest.TestCase fixtures #55 - GitHub
It would be really helpful to have an example with unittest.TestCase I'm struggling to receive the page object in my test class.
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