Code Monkey home page Code Monkey logo

ist-412's People

Contributors

dservich avatar gilgaustus avatar q-lo avatar shane-e avatar tacticaldildocannon avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

ist-412's Issues

Input panel

  • source directory label
  • source directory file chooser
  • test case directory/file label
  • test case directory/file chooser

Improve the GUI

Some ideas;

  • make the text fields longer
  • make the buttons smaller
  • make the text field in the output window take up the whole panel
  • create panel to select students' tests
  • ect

Improve the code style consistency

I think we should create a style guide for our code so that it is consistently formatted. We could put it in the readme, and have things like:

  • spacing
  • bracket style
  • when to use final keyword(I like to make all instance and local variables final, but usually leave it off classes methods, and method parameters unless needed.)
  • comment style
  • ect

Finish writing JUnit Tests

We should start by writing tests for all the controllers. Ideally the models would not need testing because they are just getters and setters, and the views would not need testing because they are only layout. In reality there may be some controller logic in the views and models right now.

Completed tests:

Classes to test:

  • OutputController
  • TestRunner
  • TestTools

Ant problems between Mac and Windows

There are a few paths that depends on this being the current directory. We should fix these. The ones I know of are:

  • config files
  • Settings.txt

TrivialEdit.java integration

The user should be able to easily view a student's source code (in a window - feel free to use the enclosed TrivialEdit.java if you like) and view compile/run output either in a window or via some easily accessed output file.

  • In the output window a "View Output" button opens the output in Trivial Edit
  • In the output window a "View Source" button opens the student's source code in the file explorer/finder

Can be used on Mac or Windows

Works on Mac, you just have to change all the paths, and we have to add the bin as a new setting.

  • add root as a new setting, and add to Filechooser.

A run button, runs the program with the settings from the UI

People working on this:
@Shane-E
@dservich
@ryosua

  • @dservich Move readDataFromSettingsFile and writeDataToSettingsFile to a new SettingsController class
  • @Shane-E Add a Jbutton to run the program to the UI
  • @Shane-E Disable the Jbutton until all the settings are set
  • @ryosua Refactor the SingleTester and BatchTester class so that the constructor takes in an ApplicationSettings object and add a void run() method
  • Once the JButton is enabled, the run button instantiates a SingleTester or BatchTester depending on which is selected, and runs the run() method.

Change how system works with config and Tester classes

Have a student.txt file with the handle and identifier number and be able to select the student to run the single test on.

  • Remove config select
  • Remove radio buttons for batch select
  • Add a panel to view the students from a selected course
  • Save the selected students to an array list
  • Read arraylist from settings in BatchTester
  • Run BatchTester from array list
  • adjust how the configSingle and configBatch files are used
  • Determine the use of both the singleTest and the BatchTest, or just use batchTest?
  • Eliminate the batch tester config and just read the information directly from the folder(will lose student handle and class name info associated with the student, so we might want to think of a better way to do this for next Sprint)

Move to another issue/Sprint

  • Allow the user to select which file contains the students (for multiple courses)

Make the config file easier

The user should be able to choose the config file locations for both the single and batch config files, and then the program should choose the right one depending on what is selected.

Menu Bar

  • Has a config menu with sub items for
  • config file,
  • and java version.

Problem with Compiling Files

javac: directory not found: /java/bin/242-1/mudgettdr
Usage: javac <options> <source files>
use -help for a list of possible options
javac: directory not found: /java/bin/242-1/mudgettdr
Usage: javac <options> <source files>
use -help for a list of possible options
javac: directory not found: /java/bin/242-1/mudgettdr
Usage: javac <options> <source files>
use -help for a list of possible options
Error: Could not find or load main class Factorial
Error: Could not find or load main class Factorial
Error: Could not find or load main class ArraySearcher
Error: Could not find or load main class ArraySearcher
Error: Could not find or load main class TestProgram

NullPointerException when selecting JDK or config from menu.

This occurs due to MainMenu.java lines 35-37. The text fields in InputPanel need to be placed into the listeners in order to update the fields properly. Alternatively, the jdk and config menu buttons may be able to be accessed from within InputPanel in order to add the listeners there.

Help Browser

A Help browser would be nice, but if you have a clearly written tutorial, that is not absolutely necessary.

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.