I don't like to use Rails because I think the frontend and the backend
should be independent. My angular app have to consume a Rest API but I
don't care where the data come from. Furthermore, I have to have an
open-source application. I don't want to force the contributor to
install Rails to develop a JS app.
Le 2015-01-04 00:30, Anton Trapp a écrit :
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 a topic in the
Google Groups "AngularJS" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/angular/i_RFooLy7E4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
[email protected]
<mailto:[email protected]>.
To post to this group, send email to [email protected]
<mailto:[email protected]>.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.
--
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.