mordaroso / guard-motion

Guard::Motion automatically run your RubyMotion specs (much like autotest)
MIT License
45 stars 12 forks source link

Running tests on a device #9

Closed stefanvermaas closed 6 years ago

stefanvermaas commented 11 years ago

Hi, is it possible to run the spec tests on a device directly? So instead of calling:

Rake::Task["spec"].invoke

call it like this:

Rake::Task["spec:device"].invoke

Is something like this possible? I don't really know where to start, because I don't know where the App.config is set.

holgersindbaek commented 11 years ago

+1

jamonholmgren commented 10 years ago

@stefanvermaas I know this is an incredibly old thread, but you can do this:

gem install when-files-change
when-files-change -- "bundle exec rake spec:device"