Tags "unit-testing" Result

unit testing

Does anyone else feel that unittesting is too much work? Not in general, just the official unittest module for small to medium sized projects? It seems easier to write some quick methods that are used when needed rather than building a program with integrated unittesting. I see the value of it (the official unittest that is)... especially when the

it1352 4 2019-06-25

Unit Testing questions

I just start to study Unit Testing (using FlexUnit). I still have not sure how to use them. I created a new flex project, and created a class named Car. Then, I created a TestCase class, for Car class. This is the default template that FlexBuilder gave to me, and I put some traces. package flexUnitTests { import flexunit.framework.Assert;

it1352 3 2019-05-07

VSTO Unit Testing

Question I am posting this question again (3rd time) because some issues with my no spam alias. Here it is the question: I have not been able to run unit tests for a VSTO (2005) project. I have an Excel project and a unit test project in the same solution. I have not found the way to initialize the runtimecallback as required by the code generated

it1352 8 2019-06-25

Xcode unit testing

I have never used Unit Testing and I understand the uses of it but I don't really know when and how to use it. I would like to know when it's worth it to use Unit Testing, maybe with some examples. Solution You should almost always unit test and you should write code with unit tests in mind. The extremists write tests even before writing the code

it1352 0 2019-05-21

unit testing guidelines

I have compiled a set og unit testing recommendations based on my own experience on the concept. Feedback and suggestions for improvements are appreciated: http://geosoft.no/development/unittesting.html Thanks. Solution -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 NotDashEscaped: You need GnuPG to verify this message Jacob uitte de volgende te

it1352 0 2019-06-25

iPhone Unit Testing

I finished my project on an iPhone dev at uni WITHOUT doing "useful" unit testing (did some simple ones just to put on my report). I was looking at the apple's unit testing suits (logic and application tests) but ended up using iPhoneUnitTesting from google-toolbox-for-mac, which I found more documented and easy to get started with Java's unit tes

it1352 1 2019-05-21

Unit testing annotations?

I'm asking myself how deep should I go in (unit) testing my classes. As example, I have following simple class . import javax.annotation.security.PermitAll; import javax.ejb.Singleton; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; @Path(value = "ping") @Singleton @PermitAll publi

it1352 3 2019-05-22

unit testing system.timers.timer

I've been reading over the questions about unit testing with timers and threading. I found the SO question about unit testing system.threading.timers, but I need to unit test a system.timers.timer and a wrapper class doesn't seem to work quite as smoothly for this one. I just need to know how to mock the timer and/or system time in order to unit

it1352 2 2019-05-06

Scrapy Unit Testing

I'd like to implement some unit tests in a Scrapy (screen scraper/web crawler). Since a project is run through the "scrapy crawl" command I can run it through something like nose. Since scrapy is built on top of twisted can I use its unit testing framework Trial? If so, how? Otherwise I'd like to get nose working. Update: I've been talking on S

it1352 0 2020-08-05

Unit-testing servlets

I have a bunch of servlets running under the Tomcat servlet container. I would like to separate test code from production code, so I considered using a test framework. JUnit is nicely integrated into Eclipse, but I failed to make it run servlets using a running Tomcat server. Could you please recommend a unit testing framework that supports testing

it1352 4 2019-05-15