You are viewing a plain text version of this content. The canonical link for it is here.
Posted to netcat@netbeans.apache.org by Rick Hegarty <sk...@gmail.com> on 2018/03/21 06:24:18 UTC

[unit] Getting started with testing the Unit Testing specifications.

Hi Mohammed, Javier and Mani,

This is an overview on how things stand for running the Unit Testing test
specifications. I am presenting them as bullet points in no particular
order.

   - My name is Rick Hegarty and I am leading the Unit Testing tribe.
   - I will be checking my email several times each day throughout the
   testing period, and will always respond to all of you as quickly as
   possible.
   - I live in Florida, USA, and my timezone is EST. The time here is the
   same as the time in New York.
   - When you create an email use your common sense on whether it should be
   sent to everyone involved in NetCAT testing ("NetCAT team" /
*netcat@netbeans.apache.org
   <ne...@netbeans.apache.org>*), just our tribe, or specific people, but
   by default please mail to all NetCAT testers.
   - Always prefix the subject of any email on the Unit Testing
   specifications with *[unit] *as I have done for this email. There will
   be a lot of emails flying around over the next few weeks, and always using
   the *[unit]* prefix will ensure our emails are easy to identify.
   - I have created two new specifications, one for JUnit and one for
   TestNG, from an old specification for testing NetBeans 8.0.
   - Here are the relevant links:


   1. Old NetBeans 8.0 Test specification for Unit Testing:
      http://netbeans-vm.apache.org/synergy/client/app/#/specification/312/v/2
      2. New NetBeans 9.0 Test specification for JUnit Unit Testing:
      https://netbeans-vm.apache.org/synergy/client/app/#/specification/390/v/2
      3. New NetBeans 9.0 Test specification for TestNG Testing:
      https://netbeans-vm.apache.org/synergy/client/app/#/title/testng_test_specification/


   - I am still working on the new Test Specifications, but hope to have
   them complete by the end of the week.
   - I clarified with Jirka that we should be using the zip file created by
   Jenkins for testing, so to install NetBeans just download the zip file from
   https://builds.apache.org/job/incubator-netbeans-linux/ and unzip it to
   a local directory of your choice.
   - That zip file is valid for all platforms (Mac, Linux, Windows) so
   don't be worried about seeing the word "Linux" in the filename.
   - Ideally we need to verify both test specifications (JUnit and TestNG)
   on three platforms (Mac, Linux, Windows) using two versions of Java (JDK8
   and JDK 10), making twelve test runs overall.
   - Given the constraint of the environment we each use, I'd like us to
   divide that testing up as follows:

Mani     (2 tests): Mac   JUnit/JDK8,  TestNG/JDK10
Javier   (2 tests): Mac   JUnit/JDK10, TestNG/JDK8
Mohammed (4 tests): Linux JUnit/JDK8,  TestNG/JDK8, JUnit/JDK10,
TestNG/JDK10
Rick     (4 tests): Win10 JUnit/JDK8,  TestNG/JDK8, JUnit/JDK10,
TestNG/JDK10



   - JDK10 was released yesterday so feel free to download it and start
   using it.
   - Initially we will be testing only JUnit 4.1.1, but I would like us to
   add some JUnit 5 tests as time permits, and you are all welcome to help out
   with enhancing the test specifications.
   - Although the test specifications are not ready yet, I would like you
   to try out the first two test cases of the JUnit specification. They relate
   to setting up your test environment rather than unit testing. Could you
   please let everyone in the tribe know how it went for you? I'll start a
   separate email thread for that right now.

Please feel free to reply to this email if you have any specific questions
on the unit testing specifications, or general questions on participating
in NetCAT.

Thanks

Rick