atoum / atoum

The modern, simple and intuitive PHP unit testing framework.
http://atoum.org
Other
1.44k stars 147 forks source link

init script revamping #742

Open Grummfy opened 7 years ago

Grummfy commented 7 years ago

Hi, today we got a 'atoum --init' to initialise a configuration file, perhaps we can do more?

Like asking question about:

What do you think about this? It could be very helpful to have it?

Grummfy commented 7 years ago

@atoum/contributors I would like to ave feedbacks on it. I think it's not a complex one and it could be easily done by someone else than the core contributors, but we just need to speak a bit about it.

kao98 commented 7 years ago

Indeed I like the idea :)

Grummfy commented 7 years ago

So we get several way to act:

So the command would ask:

  1. Create an autoloader, mostly useless if you use composer [y/N]?
  2. Create a boostrap file [y/N]?
  3. Create a configuration file [y/N]?

If create a config file:

  1. Path to unit test directory: [path]
  2. Activate path & branch & test coverage [y/N]?
  3. Activate some extension [y/N] ?
    • telemetry [y/N]
    • reports [y/N]
    • autoloop [y/N]
    • ruler [y/N]