I solved this in the end in another way - https://gerrit.wikimedia.org/r/120938

But basically I put some basic code in hooks.rb which did a puts but
nothing was happening. I remember little about that now as I gave up
trying...

On Thu, Mar 27, 2014 at 8:09 AM, Željko Filipin <[email protected]> wrote:
> On Thu, Mar 20, 2014 at 7:11 PM, Jon Robson <[email protected]> wrote:
>>
>> So ideally I would include the tag @watchstar-setup in the 2 watchlist
>> tests. They would then run API requests to ensure the page is watched (or
>> run browser steps - is it possible to do that from in here)
>
>
> I am not sure what you are asking. Can you make a commit and push it to
> gerrit?
>
>>
>> I had a play around with this though and I can't get the hooks to run a
>> basic puts statement - am I missing something? Do I need to require the
>> hooks.rb file somewhere?
>
>
> If you run cucumber with -v[1] it should output all files that are loaded.
> Example:
>
> $ bundle exec cucumber -v
> Code:
>   * features/support/env.rb
>   * features/support/hooks.rb
> (...)
>
> Looks like hooks.rb is loaded. Can you make a commit and push it to gerrit?
>
> Željko
> --
> 1: -v, --verbose Show the files and features loaded.
>
> _______________________________________________
> Mobile-l mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/mobile-l
>



-- 
Jon Robson
* http://jonrobson.me.uk
* https://www.facebook.com/jonrobson
* @rakugojon

_______________________________________________
Mobile-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mobile-l

Reply via email to