Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9136103
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T08:54:33+00:00 2026-06-17T08:54:33+00:00

I am working on Unit Test using third party framework GHUnit, created project added

  • 0

I am working on Unit Test using third party framework GHUnit, created project added GHUnit framework and other framework which are needed.
I created one class called TestCases, in that import library GHUnit and class which need to write test case.

I need to write test cases for 40 classes.
Do i need to write all test cases in one single class.

Do i need to create each class for testCase?
If Yes then when i try to create new class in separate testCase1,testCase2….testCase40 it can’t able to show those testCases1 testCase2 …testCase40

IT shows me a tableview and run button and only first testCases methods, its not showing me remaining testCases Class method.
Please advice in this situation. What action i need to do for this

@Advance thanks you all.,

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T08:54:34+00:00Added an answer on June 17, 2026 at 8:54 am

    Separate unit testing (functionality testing) integration testing (complete system working testing)

    UNIT TESTING: (for each of those 40 classes)
    Usually write different test class for each of the class, so that if there is a single change in any of the class can test it by specifically running that particular class, so if there is one or 40 or 100s of class better write unit test for each of them and ensure there functionality.

    In each class better write different test cases for testing different functionality, so that it will be easy to identity (for a third person, not the one who develop it and written test case for that) where the error come from, and manage them.

    Each function better test only one case, write different test cases for testing different functional behavior of each functions. So it may result with 100 test cases in a single class for testing a class with 10 functions. But it is good.

    INTEGRATION TESTING: (for testing depended functionality of 40 classes)
    When come to integration testing, write test cases for different behavior of complete system, in a single class with different possibilities (test cases).

    And finally “Spend more time for testing than coding”.
    Also ensure the coverage of test cases for the code is between 90% to 100%.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am working with Silverlight Unit Testing i need to test a function which
I'm working on my first project in which I'm utilizing PHPUnit for unit testing.
For my project I am using the integrated Visual Studio unit-testing framework but I
I'm using junit and EasyMock to do unit testing on a project I'm working
I'm working on a framework extension which handles dynamic injection using Ninject as the
I am currently writing a unit test framework which shall in the end run
I'm working on a unit test which executes some business logic that will eventually
now i'm working on a project for creating audio unit instrument that provide the
Eclipse Juno Service Release 1 Example of a working Unit Test ... InRangeTest =
I've created a unit test that tests interactions on my ViewModel class in a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.