Giter Club home page Giter Club logo

Comments (3)

roidrage avatar roidrage commented on May 5, 2024

Paging @brntbeer!

from docs-travis-ci-com.

brntbeer avatar brntbeer commented on May 5, 2024

I'm the worst. sorry for majorly dropping the ball on this.

For a guide / walkthrough on this, i think the most important piece is: what is the goal? For me, the goal isn't really to teach someone programming (though they'll need to know a bit per language), it isn't to teach someone how to use Git. It's to teach them WHY you want testing and how EASY travis is. I guess my idea is as follows:

First run

  • fork travis-ci/example-ruby or similar repository
  • Connect travis-ci to this repository
  • (Somehow) get the student to open a pull request, maybe something as simple as changing the output of something to include their name? The problem here is multiple people forking and updating and offering PRs. Probably need to ensure they send the PR to themselves, NOT back to travis-ci/example-ruby
  • Tests will fail
  • student updates code to fix test
  • Tests pass, merge PR. 🎉

The guide on the travis docs site will guide them through this, describing what to do. In a perfect world with infinite time, the answers for what to do for the failed tests aren't immediately viewable. I'd think the answers to make the tests pass are sort of just hidden on the page. "Click here to view answers" or something similar.

By the end of the guide, the student will have hooked up travis to a repository of their liking, see what failing tests look like (and maybe the guide describes why tests are important?), and how changes are reflected / updated back in the PR for passing tests.

from docs-travis-ci-com.

plaindocs avatar plaindocs commented on May 5, 2024

Alternatively you just have a separate example quickstart repo with broken code, missing ';' whatever, that you know will fail. In the quickstart you tell people how to fix it so it passes.

from docs-travis-ci-com.

Related Issues (20)

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.