gnarlinsky / fab-lab-signin

Sign in to the Fab Lab space and other things
1 stars 0 forks source link

unit testing #8

Open gnarlinsky opened 11 years ago

Geph commented 10 years ago

Not sure if I know the difference between this and functional testing...

gnarlinsky commented 10 years ago

Functional tests are from the user's perspective -- e.g. does the privacy policy pop up when user clicks a specific button.

http://stackoverflow.com/questions/2741832/unit-tests-vs-functional-testsis something I've referred to more than once, and it explains the famous house inspector vs homeowner analogy.


Nadia

On Sat, Dec 28, 2013 at 4:16 AM, Jeff Ginger notifications@github.comwrote:

Not sure if I know the difference between this and functional testing...

— Reply to this email directly or view it on GitHubhttps://github.com/gnarlinsky/fab-lab-signin/issues/8#issuecomment-31293890 .

Geph commented 10 years ago

Thanks for this clarification! I think I'd normally call unit testing something like "debugging/optimization" and functional testing "usability" :)

gnarlinsky commented 10 years ago

Well, actually I do structure my functional tests as unit tests, so I guess the distinctions is not that straightforward...


Nadia

On Mon, Jan 6, 2014 at 3:49 PM, Jeff Ginger notifications@github.comwrote:

Thanks for this clarification! I think I'd normally call unit testing something like "debugging/optimization" and functional testing "usability" :)

— Reply to this email directly or view it on GitHubhttps://github.com/gnarlinsky/fab-lab-signin/issues/8#issuecomment-31690888 .