-----You received this message because you are subscribed to the Google Groups "Growing Object-Oriented Software" group.To unsubscribe from this group and stop receiving emails from it, send an email to growing-object-oriente...@googlegroups.com.For more options, visit https://groups.google.com/groups/opt_out.
There's a discussion I've been having recently that is kind of related to this.Lets say we're a few features into the project and we're growing our system with some good separation and a nice hexagonal/ports and adapters architecture.Then we hit the next feature, which is describing input validation - and there's a ton of these. Do we want to drive each validation through a failing end to end test (and suffer the consequence of a slow test suite)? Or should we drop down a level and drive it through acceptance tests around the domain objects? Maybe a combination of the two - a failing end to end that is quite abstract "should display error when input is invalid" and lower level acceptance tests to cover the detail?
On Sat, Apr 20, 2013 at 5:01 PM, Arthur Cláudio Almeida Pereira <arthur.alm...@gmail.com> wrote:
Hi!Thanks for the replies.@Raoul the difference is the tool used. Like the Stefano said to test my HTML interface i will use Selenium and to test my "controller" I can use an xUnit tool and that's is more easier and faster to create the tests.
On Friday 19 April 2013 at 23:18, Raoul Duke wrote:
In the web application enviroment, the acceptance tests should be "gui"tests or functional tests?why would the testing of it be super different than anything else witha gui + code behind the gui?Exactly. You should try to think in terms of external interfaces rather than specific components. So in your case, the question is: what will be for the users the interface to your application? In a command line application, it would probably be a command for the input and the stdout for the output. For a webapp it would probably (but not necessarily) be an HTML interface for both the input and the output.So, to give a more direct answer to your question, yes, I would probably write a test that uses Selenium to drive a web page and stresses a single end to end feature (as GOOS suggests).Regards,Stefano Zanella
-----You received this message because you are subscribed to the Google Groups "Growing Object-Oriented Software" group.
To unsubscribe from this group and stop receiving emails from it, send an email to growing-object-oriented-software+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
---
You received this message because you are subscribed to the Google Groups "Growing Object-Oriented Software" group.
To unsubscribe from this group and stop receiving emails from it, send an email to growing-object-oriented-software+unsubscribe@googlegroups.com.
--
---
You received this message because you are subscribed to the Google Groups "Growing Object-Oriented Software" group.
To unsubscribe from this group and stop receiving emails from it, send an email to growing-object-oriented-software+unsubscribe@googlegroups.com.
--
---
You received this message because you are subscribed to the Google Groups "Growing Object-Oriented Software" group.
To unsubscribe from this group and stop receiving emails from it, send an email to growing-object-oriente...@googlegroups.com.
+1 for not blaming autocomplete...