github / github/gh-classroom

Bug: Autograding marks tests as passing that should fail

Aperta
#93 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Go
Stelle
126
Fork
21
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

In testing a new assignment I deliberately uploaded code that should fail half of the unit tests. The autograder still marked everything as succeeding. Local runs through IntelliJ correctly show these tests not passing.

I am using gradle to run the tests (ver. 8.12) with the command gradle test --tests "TestClass.testMethod" which worked previously.
The template repository is WVUP/cs122objectorientedprogramming-lesson-1-blackjack-card-and-deck-CS122BlackjackCardAndDeck
The GH Classroom assignment is Classrooms->CS122ObjectOrientedProgramming->Lesson 1: Blackjack Card and Deck

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia riproducendo il problema nel repository del template WVUP usando Gradle 8.12 e il comando riportato `gradle test --tests "TestClass.testMethod"`. Confronta il risultato locale di IntelliJ con il risultato dell’autograder di GitHub Classroom per l’assegnazione Lesson 1: Blackjack Card and Deck; il lavoro è completato quando i test deliberatamente falliti vengono segnalati come falliti invece che superati.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Ambito
build-system, testing
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.