Giter VIP home page Giter VIP logo

template-autograding-example-cpp-catch's Introduction

autograding-example-cpp-catch

Learning Autograding with C/C++ and Catch2 - Prof. Igor Machado Coelho

IMPORTANT: If autograding (GitHub Actions) doesn't start for you, check again the Invitation Link for the activity and hit the link named update.

If you want to practice this activity, just follow this link: https://classroom.github.com/a/X_8PAk4h

Full-Name-Of-Student

TODO - Please put your name in this README

Problem Description

This part describes the activity. This example activity consists in fixing two functions: one that adds two integers, and another that multiplies two integers.

Objective

  • Make the code pass correctly on all tests

    • only change the allowed files to achieve this goal (see instructions below with specific rules).
  • The GitHub Actions should present a green marker when all tests are satisfied, and a red X when some (or all) of tests fail.

    • Advice: You can click on the red X to verify which tests have failed (or if code didn't compile correctly).
    • Advice 2: If no autograding test appear, it may be required for the instructor to update the test activities, so that all student repos are refreshed (regarding autograding).

Instructions

  • You can ONLY change files student.hpp and README.md!
    • In file student.hpp put your implementations, and in README.md put your full name.

Explanations for the other files:

  • file tests.cpp has all tests for the activity (DO NOT CHANGE!)
  • file catch.hpp has the testing library CATCH2 (DO NOT CHANGE!)
  • file makefile has the commands for executing activity (DO NOT CHANGE!)
  • file appTests will be generated after compiling (if you want to test locally, just execute it)

Commands for Local Testing

  • Command to build and execute tests: make test
    • If executable is built already, just type: ./appTests

Notes

  • The code will be evaluated only if compiling!

    • The reason is, if it doesn't compile, it won't be possible to generate the executable and to perform tests.
  • Some test cases may receive individual grade, while others may only receive grade if passing together (or even all tests passing together).

  • The final grade will be given automatically on every commit, and will only be evaluated until the deadline of the activity.

  • The deadline is defined in GitHub Classroom

    • in case you cannot find it, ask the instructor or the course webpage

Check all other rules with instructor.

License

MIT License 2020

template-autograding-example-cpp-catch's People

Contributors

igormcoelho avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  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.