After a lot of problems I am using rspec/capybara (and database cleaner) for the Angular e2e tests. So I can use FactoryGirl for my test data, authentication helpers, ... - and everything is working perfect without any troubles. I don't like testing only two different things (API and frontend only with mocked API) seperate - always missing some bugs in such scenarios. Can use this for load tests too. So why don't you use Capybara only because you are using a different frontend framework?
Am Samstag, 3. Januar 2015 13:01:00 UTC+1 schrieb Guirec Corbel: > > Hi, > > I'm a Ruby/Rails programmer and I usually do acceptance specs with > Capybara and DatabaseCleaner. After each spec, the database is deleted and > clean again. I'm looking to do the same think with Angular. Is it possible > to have something like that with e2e tests? Is it preferable to mock the > server? What can I do? > > Thanks for your help! > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
