GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - testmycode/tmc-server: Test My Code exercise server used by e.g. http://mooc.fi/

BranchesTags
Open more actions menu

Latest commit

 

History

3,837 Commits
3,837 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
app
app
 
 
bin
bin
 
 
config
config
 
 
db
db
 
 
doc
doc
 
 
ext
ext
 
 
lib
lib
 
 
public
public
 
 
script
script
 
 
sorbet
sorbet
 
 
spec
spec
 
 
vendor
vendor
 
 
.dockerignore
.dockerignore
 
 
.envrc
.envrc
 
 
.gitignore
.gitignore
 
 
.gitmodules
.gitmodules
 
 
.hound.yml
.hound.yml
 
 
.rspec
.rspec
 
 
.rubocop.yml
.rubocop.yml
 
 
.rubocop_todo.yml
.rubocop_todo.yml
 
 
.ruby-version
.ruby-version
 
 
Changelog.md
Changelog.md
 
 
Contributing.md
Contributing.md
 
 
Dockerfile
Dockerfile
 
 
DockerfileBase
DockerfileBase
 
 
Gemfile
Gemfile
 
 
Gemfile.lock
Gemfile.lock
 
 
Installation.md
Installation.md
 
 
LICENSE
LICENSE
 
 
README.markdown
README.markdown
 
 
Rakefile
Rakefile
 
 
common.yml
common.yml
 
 
config.ru
config.ru
 
 
dev-entry.sh
dev-entry.sh
 
 
docker-compose-dev.yml
docker-compose-dev.yml
 
 
docker-compose-remote-sandbox-dev.yml
docker-compose-remote-sandbox-dev.yml
 
 
docker-compose-remote-sandbox-test.yml
docker-compose-remote-sandbox-test.yml
 
 
docker-compose.yml
docker-compose.yml
 
 
docker-wait-for-db.sh
docker-wait-for-db.sh
 
 
entry.sh
entry.sh
 
 
flake.lock
flake.lock
 
 
flake.nix
flake.nix
 
 
lefthook.yml
lefthook.yml
 
 
rubysudo
rubysudo
 
 

Repository files navigation

Test My Code server

Test My Code ("TMC") is a tool to automate most of the exercise checking when teaching programming. It runs code submitted by students, gives feedback if tests fail and maintains a scoreboard. This allows for lots of small exercises without the need for course instructors to manually go through all of them.

The system has been used with great success by the University of Helsinki CS Dept. in several elementary programming and data structures courses with hundreds of users.

Usermanual

Automatically built usermanual can be viewed at: http://testmycode.github.io/tmc-server/usermanual/

Setup

For setup and startup instructions, please see the installation guide.

Running dev in Docker

Before running dev in docker one needs to do some manual setup:

  • git submodule update --init --recursive
  • rake compile To build neccessary external dependencies.

The dev docker mounts local folder to the image and allows code changes to be visible in real time. Dev environment can be run with docker-compose: docker-compose -f docker-compose-dev.yml up

To run rails migrations etc you may exec those like this: docker exec -it tmcserver_dev_1 rake db:create db:migrate db:seed.

The container name can be checked with docker ps

Running tests in parallel

Tests can be run parallel with docker-compose. This expects you to have functioning docker and docker-compose setup.

For collecting test results from different testruns you need to clone and use this: https://github.com/jamox/remote_rspec_aggregator Basically you wan't to clone the repo and bundle install once and run rackup --host 0.0.0.0 --port 4567 to have it accessible from the testruns running in docker.

Once it's running run all tests by executing env REPORT_URL=<IP OF DOCKER INTERFACE> docker-compose up --build and see test results flowing to rspec test result aggregator.

The test environment builds hermetic images for each testrun by including all source files to the testrun container. Thus we need to use --build (or trust docker to detect changes in directories) to run tests for newest code.

API Documentation

API documentation can be found at http://testmycode.github.io/tmc-server/

Credits

The project is maintained by the Agile Education research group.

The project used to be maintained by:

  • Martin Pärtel (mpartel)
  • Jarmo Isotalo (jamo)

The project started as a Software Engineering Lab project at the University of Helsinki CS Dept. but has since been gradually almost completely rewritten. The original authors of the server component were

  • Patrik Marjanen
  • Jarno Mynttinen
  • Martti Rannanjärvi (mrannanj)
  • Katri Rantanen

Another team wrote a NetBeans plugin for the system.

The course instructor was Martin Pärtel (mpartel). Other closely involved instructors were

  • Matti Luukkainen (mluukkai)
  • Antti Laaksonen
  • Arto Vihavainen
  • Jaakko Kurhila

The system was improved and C language support was added in another SE lab project by

  • Jarmo Isotalo (jamo)
  • Tony Kovanen (rase-)
  • Kalle Viiri (Kviiri)

Checkstyle-support was integrated by

  • Kenny Heinonen (kennyhei)
  • Kasper Hirvikoski (kasper)
  • Jarmo Isotalo (jamo)
  • Joni Salmi (josalmi)

License

GPLv2

About

Test My Code exercise server used by e.g. http://mooc.fi/

Resources

Readme
GPL-2.0 license

Contributing

Contributing
Activity
Custom properties

Stars

51 stars

Watchers

11 watching

Forks

42 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.