chenglou / node-huxley

Codeless front-end testing.
MIT License
361 stars 29 forks source link

Ability to pick tasks to run #5

Closed chenglou closed 11 years ago

chenglou commented 11 years ago

Thinking of adding an "x" in front of Huxleyfile's "name" field to disable the task (json doesn't allow comments), a-la Jasmine.

Or maybe use a command-line option and avoid modifying the Huxleyfile. But this doesn't scale for tens of tasks (if a component will even have tens of tasks; maybe this is an empty worry).

chenglou commented 11 years ago

Made a list. Changed the issue from "running a single task" to "select task to run" (consequently, to disable). This covers wider use cases without being unnecessarily so.

(Assuming we're not implementing both options. Let's not.)

Jasmine style:

CLI:

Bolded is the big plus for Jasmine style. Going with this style then.

chenglou commented 11 years ago

0.3.2 now includes this functionality.