Coder Social home page Coder Social logo

psychicpenguin / tum_gad_tests_ss21 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from n0w0rk/tum_gad_tests_ss21

0.0 0.0 0.0 783 KB

This is a repository to collect JUnit Tests for GAD exercises at TUM in SS21

License: GNU General Public License v3.0

Java 100.00%

tum_gad_tests_ss21's Introduction

TUM_GAD_Tests_SS21

This is a repository to collect JUnit Tests for GAD exercises at TUM in SS21. These tests have been written by students for students and are not part of the official course.

Usage

To use the provided tests, first clone this repository. Then, you have to create a symlink to your src folder to make it work with your IDE (see below). After that you just have to include JUnit in your project and you're good to go. To include JUnit you will just need to Alt+Enter on one of the red underlined @Test Annotation in the test file. Your IDE will show you options to include the correct JAR. PLEASE ADD YOUR TEST PACKAGE TO .gitignore TO PREVENT UNNECASSARY LOAD ON ARTEMIS.

Windows

This has to be executed in the command line, run as administrator:

$ mklink /d \path\to\src\tests \path\to\repository\tests

Linux/MacOS

$ ln -s /path/to/repository/tests /path/to/src/

Structure of the tests

For every exercise that has tests, there will be a separate folder. The gad in the package name of the excercise file will be replaced by tests. So, if the classes of the excercises are located in the package gad.binarysearch (for the class gad.binarysearch.BinSea), the tests will be located at tests.binarysearch. Usually, the naming convention for test classes is to use the tested class name and append Tester (e.g. BinSeaTester) or another fitting name ending with Tester. Further information can be found in the contributing guidelines, too.

Collaboration

We will probably only add test cases from the problem statements and ones from issues we were experiencing. If you have cases yourself or spot mistakes we did in the tests here, feel free to open an issue or to create a pull request. Check out the contributing guidelines for further information. In case you are unsure how to create a pull request, take a look at the GitHub documentation. Please use JUnit 5.7 when writing your own Tests. Existing tests will be modified accordingly.

License

This project is licensed under GPLv3, see LICENSE.

tum_gad_tests_ss21's People

Contributors

babyygemperor avatar n0w0rk avatar crsix avatar antonkluge avatar mertcorumlu avatar maharajamihir avatar j-mr-t avatar kelekcibo avatar andreemic avatar marcel510 avatar quarz12 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.