Comments (5)
I wonder if we could grab a power assertion to keep the computer awake? As for the speed, the best thing you can do in your own code is to do whatever you can to make your test suite run faster. Eliminating waits and async stuff will help, as will breaking your app up into frameworks so the cycle to build and run particular test files is shorter after a file is changed.
from muter.
@itsmeabhinay and myself felt like a runtime of 1000+ mins was not/couldnt be right and figured we had some config issue or maybe project settings that were correct which caused such a long runtime.
As a next step, we created a brand new sample app, added 2 classes and 10 Unit tests.
The runtime for this sample app, was still 1hr.
My main question here is - does it seem reasonable/does 60mins to run mutation tests on 10 unit tests seem correct? is that what others are seeing?
An equivalent mutation test plugin on java/kotlin android takes 2mins to run - i know the platforms are different and run times will be too, but 1hr to mutation test 10 tests seems crazy?
from muter.
Agreed. That seems high! I don't have any concrete benchmarks for you offhand, but I'd dig into how long xcodebuild or swift test takes to run the same tests as a starting point.
from muter.
@itsmeabhinay wanna grab some stats on build and run times and post them here?
Also thinking is it an xcode version related thing? Did we try make the sample app in xcode12 and see if the run time is the same?
@ZevEisenberg What's a birthday runtime on projects you've applied muter to?
from muter.
I don't remember offhand, but I seem to recall it being pretty close to a clean or perhaps incremental build (I forget which, and it's an important difference) multiplied by the number of mutants found. The disk operations to swap out the mutated files are pretty negligible unless it's a massive project, so it's nearly all build time.
from muter.
Related Issues (20)
- Schedule regression tests on CI
- Skip hidden folders when copying to temp HOT 2
- Guard against process termination code
- Parse log from `swift test`
- Muter incorrectly fails when successful test contains "fatal error" text
- --files-to-mutate does not work for multiple files
- Mutation Switching HOT 4
- New mutation: ternary operators
- Fix HTML report HOT 1
- Monitor running test and notify possible halting
- In total, Muter discovered 0 mutants in 0 files HOT 18
- Command line failure: "[1] 97764 illegal hardware instruction muter run" HOT 2
- Error during Muter installation HOT 15
- Identified issues HOT 7
- Unable to install muter HOT 13
- Child project mutation
- Muter run throwing segmentaion fault HOT 11
- Mutation Schemata
- Migrate to versioned formulae (homebrew)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from muter.