On 07/04/2010 12:56 PM, Lorenzo Thurman wrote:
I've looked at a couple of the docs at the website, "Getting started in 5 minutes" and 
"Getting started in 10 minutes", but I'd like to find something a bit more comprehensive. 
For example, I was trying to build and test a simple project with only two files, 
MathFunctions.java and MathFunctionsTests.java. The compile ran just fine, but the unit tests were 
not run. I eventually figured out that my unit tests source needed to match the name of the code 
source with the word Test appended to the name, so after renaming my unit test file to 
MathFunctionsTest.java, it ran just fine. I'm sure something simple like this is documented 
somewhere, I just don't know where. Mind you, I'm still fairly new to Java programming and 
environments such as Maven, so I think I'm going to need some hand holding, so if such a naming 
convention is considered standard, I was unaware.
Thanks.


"A person who won't read has no advantage over one who can't read."

--Sam Clemens

Lorenzo Thurman
[email protected]





This gets back to my point about Best Practices. These questions/problems are not about Maven but you can't use Maven in a vacuum.

Ron

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to