fr05t1k / codeception-progress-reporter

Reporter for codeception with a progress bar
https://github.com/fr05t1k/codeception-progress-reporter
MIT License
28 stars 7 forks source link

Silent/Quite mode implementation #2

Closed fr05t1k closed 7 years ago

fr05t1k commented 7 years ago

Codeception has flags: --silent Only outputs suite names and final results -q, --quiet Do not output any message

This flags should work properly.

Rishabh04-02 commented 7 years ago

I'd like to work on the issue, but needs elaboration of the issue. Will you please elaborate this issue?

fr05t1k commented 7 years ago

@Rishabh04-02 I've updated this issue.

Rishabh04-02 commented 7 years ago

@fr05t1k Great, I'll work on it.

Rishabh04-02 commented 7 years ago

@fr05t1k I need instructions to run it locally, I'm unable to do so.

fr05t1k commented 7 years ago

script:
  - sh ./maketests.sh
  - php vendor/bin/codecept run
fr05t1k commented 7 years ago

You can generate stubs by this commands and run tests

Rishabh04-02 commented 7 years ago

@fr05t1k I've made the changes. Now in silent mode its displaying output like this -

Current test: Test200Test
Success: 100 Errors: 0 Fails: 0
Current test: Test9Test
Success: 100 Errors: 0 Fails: 0

Time: 413 ms, Memory: 14.00MB

Is that what you require?

fr05t1k commented 7 years ago

I think it should look like this 2017-10-04_19-15-57

Rishabh04-02 commented 7 years ago

Then whats the difference between -q and --silent?

fr05t1k commented 7 years ago

I have no idea. This is the default behavior for the default reporter on the screen above. It should be similar.