Giter Club home page Giter Club logo

Comments (5)

fiunchinho avatar fiunchinho commented on June 26, 2024

Sorry, but I have no plans on dedicating time for this now.
Althought it shouldn't be that difficult to add, so feel free to send me a pull request. I'd happily merge it! :)

from phpunit-randomizer.

MPV avatar MPV commented on June 26, 2024

No worries, here's a pull request:
#2

from phpunit-randomizer.

fiunchinho avatar fiunchinho commented on June 26, 2024

I've added some changes so it always shows the seed, even when the client has no passed any seed. Closing!

from phpunit-randomizer.

MPV avatar MPV commented on June 26, 2024

Just thought I'd let you know:
I've just taken time to test the changes.
Unfortunately, it seems it's not compatible with the "--stderr" flag:

./bin/phpunit-randomizer --stderr --seed 123 ExampleTest.php
PHP Fatal error:  Call to undefined method PHPUnit_TextUI_ResultPrinter::setSeed() in /Users/mpv/phpunit-randomizer/src/PHPUnitRandomizer/Command.php on line 51
PHP Stack trace:
PHP   1. {main}() /Users/mpv/phpunit-randomizer/bin/phpunit-randomizer:0
PHP   2. PHPUnitRandomizer\Command::main() /Users/mpv/phpunit-randomizer/bin/phpunit-randomizer:36
PHP   3. PHPUnit_TextUI_Command->run() /Users/mpv/phpunit-randomizer/src/PHPUnitRandomizer/Command.php:34
PHP   4. PHPUnit_TextUI_Command->handleArguments() /Users/mpv/phpunit-randomizer/vendor/phpunit/phpunit/PHPUnit/TextUI/Command.php:138
PHP   5. PHPUnitRandomizer\Command->seedHandler() /Users/mpv/phpunit-randomizer/vendor/phpunit/phpunit/PHPUnit/TextUI/Command.php:508

Will review this again at some point to see whether I can find a possible solution.

from phpunit-randomizer.

fiunchinho avatar fiunchinho commented on June 26, 2024

I think is fixed now. Please update your repo and try again.

from phpunit-randomizer.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.