I checked out the source code from the SVN repository and noticed there are no units tests. Why is this?

asked 19 Oct '10, 22:24

KarlB's gravatar image

KarlB
576202136
accept rate: 0%

edited 29 Nov '10, 23:12

Scott%20Whitlock's gravatar image

Scott Whitlock ♦♦
696262833


SoapBox core does have unit tests for the core. They were written using NUnit and they are just not published with the rest of the project (though that might change soon).

I, myself, am also a fairly recent test driven development (TDD) convert and have no experience with NUnit but would love to take on the challenge of designing unit tests for SoapBox core and use it as a way to learn how to really test software. Because of my lack of experience though I am hesitant to take on this task alone. If there are any developers out there who feel that they really know how to test SoapBox core, then please leave your comments. Maybe we can work together to get some good code coverage and you can teach me a thing or two about TDD.

link

answered 19 Oct '10, 22:26

KarlB's gravatar image

KarlB
576202136
accept rate: 0%

edited 21 Oct '10, 13:02

Scott%20Whitlock's gravatar image

Scott Whitlock ♦♦
696262833

Testability is always an issue. The modularity of SoapBox Core should make it relatively testable. One problem is dependency injection. I'm adding some helper utilities in the next version to inject mock dependencies into the imported properties for testing. That should make it easier.

(21 Oct '10, 20:18) Scott Whitlock ♦♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×17
×11
×5
×1

Asked: 19 Oct '10, 22:24

Seen: 1,964 times

Last updated: 29 Nov '10, 23:12

powered by OSQA