Tag Info

New answers tagged

4

Here are a few suggestions to at least get you started. Everything listed here is free. a webtest framework, which "clicks" through the browser/webapp - Selenium an extjs/javascript unittest framework - Jasmine or Mocha a C# unittest framework - NUnit perhaps a framework which tests whether web calls give correct return values, and how web calls react to ...


1

This is all general, not specific to your needs. Random stuff I learned from the process of adding unit tests to my C++ project (not all from personal experience): integration tests are not like unit tests. There are a lot of harnesses that only support unit tests, not integration tests. The same script that calls your test harness should also run a code ...


1

Since you have to do unit testing for the REST API, I would assume you are using mock objects for those, rather than interact directly with the database. This should give you a framework of proper "valid" responses from the API already - what I'm getting at is that when you test, you should know you're in "test mode" (either through some global environment ...


4

First of all, you shouldn't be testing against your production database. If you ever need to rerun your tests after the application has gone live (and you will need to do that), you run a serious risk of losing or corrupting data that is vital to the business. So, instead of testing against the production database, you test against a test database (which ...


0

Given HATEOAS, you only need to change the base URL for your RESTful service to point the UI service to another implementation of it. So set up a staging version of your UI and test it against a staging version of the data service, making that one change.


4

I think you are going about this the wrong way. Don't get into an argument over the definitions of words, that's not useful. Trying to argue for changes in development methodology by arguing over the definition of an integration tests, is like try to square a circle by changing the definition of a square. Instead, argue for what you actually want to change. ...


0

I am guessing that there will be plenty of other factors that are coming into play that you might not have considered. They are probably not technical. Eg, time, effort, understandability, simplicity, upcoming future work, previous decisions already made, etc. There is obviously a lot of conflict around the database. You need to take a step back here, he's ...


1

Challenging someone who thinks they know best is always a problem. You have run into someone who believes "everything is a unit test," and that kind of miscategorization is hard to address. Provide him with a scale of interactions, that has some hierarchy to it. Ask him to draw lines where he wants to define things. For instance. Single method/procedure, ...


4

I think that when you are dealing with people who think they know best, or you are just in a position where they don't think they should be listening to you, the best way is question their ways. He is probably the type that believes that he should be the one making the decisions (independently of whether or not he is the most qualified). And just telling ...



Top 50 recent answers are included