15 questions
2
votes
1
answer
141
views
Multi-threaded mutation testing with Laravel
I am trying to use Infection (https://infection.github.io/) on a Laravel 10 codebase and am running into issues when running Infection with more than 1 thread. Running it single threaded is not ideal ...
0
votes
0
answers
106
views
Testing with PHP Infection
I cover my project with unit tests. I'm using infection and codeception v5. Also I install bypass-finals extension, cause project has a lot of final classes. I guess because of the presence of final ...
0
votes
1
answer
102
views
In CoreClassReflection.php Class Does Not Exist While Using Infection
I try to use Infection to evaluate my testcase using php, I have 2 file (Displayuser.php, displayuserTest.php)
for the first file Displayuser.php the code like this, this file under func folder
<?...
1
vote
1
answer
112
views
Possible infection through the tor network
After initializing the tor network service I have seen that there was a connection established to the IP 131.188.40.188 to port 11180.
I did a scan with nmap and the result was as follows:
There was ...
2
votes
0
answers
498
views
Mutants were not covered by tests in PHP Infection
I'm running some mutation tests ("infection/infection": "^0.26.1") and for some unknown reason PHP Infection claims that there are tests that are not covered even with the unit ...
0
votes
1
answer
337
views
Realistic age structured model using ODE from the deSolve package
I am trying to simulate a realistic age structured model where all individuals could shift into the following age group at the end of the time step (and not age continuously at a given rate) using ODE ...
0
votes
1
answer
409
views
Setting nodes within a networkx graph as infected and uninfected
I have the karate club graph, I wish to determine a few random nodes within there as infected nodes, while the rest are uninfected. I tried to use:
G = nx.karate_club_graph()
#pos = nx.spectral_layout(...
0
votes
0
answers
82
views
How can I address the attributes of other turtles in the "procedure-calling" turtle's radius and how long they stay there? In Netlogo
I am building a model in Netlogo where I am simulating the spread of a virus. I have looked at other virus models but so far haven't found a solution to my problem.
I would like each agent interaction ...
1
vote
1
answer
2k
views
Infection Throws Exeption, but why, and how to handle it?
The Task is that the error does bot explain that problem right.
The Error:
Project tests must be in a passing state before running Infection.
Infection runs the test suite in a RANDOM order. ...
1
vote
1
answer
1k
views
Why does my secure Travis CI environment variable not work?
Every time I deploy to Github, Travis CI says at the end of its report:
Dashboard report has not been sent: neither INFECTION_BADGE_API_KEY nor STRYKER_DASHBOARD_API_KEY were found in the ...
0
votes
1
answer
257
views
So, a mutant escaped. Now what?
I've just managed to get mutation testing working for the first time. My usual testing framework is Codeception but as of writing, it is not compatible with mutation testing (although I believe work ...
-1
votes
1
answer
136
views
Is there a way to delete/get rid of a Man-In-the-Browser infection?
I was cruising around the browser reading articles about MItB and still can't find a technical way of getting rid of an MItB infection. hence, I was wondering: Is there is such a way to delete an MItB ...
0
votes
2
answers
931
views
phpdbg hits memory limit when mutation testing with Infection
I keep getting a memory exhausted error when trying to run infection tests using phpdbg. I've tried setting the -d memory_limit but it seems to get ignored.
Below is some sample output:
$ phpdbg -...
0
votes
1
answer
149
views
Finish phpunit-tests always during infection testing: teardown method not called after a failure
I use the infection testing framework https://github.com/infection/infection
During a test some parts of the code are changed so that the test fails und does not run completely nor use the PHPUnit ...
1
vote
1
answer
1k
views
PHP Infection all mutants were not covered by tests
I'm trying to implement the infection/infection php mutation testing library into a new project of mine. I've set up some tests which all pass, then ran infection.
Infection returns the following:
...