Comments (4)
The funny thing is, if you keep it running it will actually log the error due to the listenToBrowserError
function:
ReferenceError: Can't find variable: angular
at C:/Users/simonl/AppData/Local/Temp/stryker/2122910/test-runner-source-files2275308/app.js:18
But that message is only logged when mutants are being tested. Odd.
from stryker-js.
Ah yes! Thank you @simondel. The latest version of stryker isn't calling the listenToBrowserError
function and thus isn't listening to the errors. We should listen to the errors and handle them in a clear way.
from stryker-js.
Is it an idea to include an optional field errorMessage
in the RunResult? This message could be logged when a test fails or something else happens during the initial test run. Also, Stryker shouldn't continue running if there was a browser error in the initial test run.
from stryker-js.
Yeah, that's probably what i want to do. But it think stryker should not continue when the test result is TestResult.Error, regardless of the error message. So in the KarmaTestRunner
we should decide if an error is due to no tests being ran or because an actual error. I will do a proposal in a PR.
from stryker-js.
Related Issues (20)
- Must call super constructor in derived class before accessing 'this' or returning from derived constructor HOT 4
- Is there a way to disable the initial test run? HOT 1
- Exporting native runner coverage with TypeScript HOT 7
- Mocha-test-runner executes tests that should not be executed HOT 4
- JSON reporter is missing on plugins page in StrykerJS docs
- Error: No tests were executed when using aliased signal inputs in an Angular 17 application HOT 4
- Same configuration in different react apps is causing failure in mutation tests at all or finds just few tests HOT 5
- Broken typescript config when using `extends`. HOT 1
- Stryker Run From Source IDE Integration HOT 2
- mochaOptions is not recognised as a Stryker option when mocha-runner is installed HOT 1
- Instrument run only
- Does stryker.js have a feature to take advantage of Jest sharding?
- Example of a Unary operator mutator?
- Stryker run fails with "UnexpectedToken" error
- Clear-text and progress report not getting generated
- Enable parallelization for @stryker-mutator/jest-runner plugin HOT 1
- Can't use Explicit Resource Management HOT 2
- Different scores at each run in Angular 17 project
- export before class decorator breaks stryker
- Is this project still maintained? HOT 1
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 stryker-js.