Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Test folder
Hi guys
Just wanted to find out you options on this. I have a project folder like so

- project1
    - app1
        - src
    - app2 
        - src
    - app3
        - src
Each app is an application or component which makes up an entire system. My question is where would you put you test folder, do you create a test folder under each app and place yo unit test there? Or would you create one test folder under project, same level as app1 and place all your unit test there (maybe with subfolder test/app1/*.pc etc)?

Im only asking because, I almost go into a row making a decision about where to actually place these folder. Im in favor of the former, where each app has its own test folder. I want to what other do in this industry. If you choose one why?

I know its not big deal, however I feel like im missing something if im not right.

Many thanks
if the test is for an individual app, then I would put it at same level as the src directories.
If a complete project test, I would put it at the app level.
hshivaraj likes this post

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  Test Case Assertion Error moga2003 10 268 Mar-18-2019, 01:06 AM
Last Post: moga2003
  Problems parsing /proc folder anddontyoucomebacknomore 2 118 Mar-06-2019, 09:16 PM
Last Post: DeaD_EyE
  test pattern and add result in a table sam1975 1 76 Mar-05-2019, 02:41 PM
Last Post: sam1975
  new python package test ramkrishna 0 61 Feb-25-2019, 12:18 PM
Last Post: ramkrishna
  Accessing Files In A Folder asilverg 1 90 Feb-15-2019, 08:08 AM
Last Post: buran
  Delete directories in folder is not working after folder is updated asheru93 2 91 Feb-13-2019, 12:37 PM
Last Post: asheru93
  How to make loop go back to the beginning if test evaluaes to True. FWendeburg 1 109 Feb-13-2019, 01:26 AM
Last Post: stullis
  how to test if a value is or is like a dictionary Skaperen 1 109 Jan-17-2019, 09:15 PM
Last Post: ichabod801
  Executing func() from a different folder ebolisa 2 157 Jan-14-2019, 10:18 AM
Last Post: ebolisa
  python script cant find folder where files are kept Shameendra 2 270 Nov-23-2018, 04:46 PM
Last Post: Shameendra

Forum Jump:

Users browsing this thread: 1 Guest(s)