ist-412's People
ist-412's Issues
Input panel
- source directory label
- source directory file chooser
- test case directory/file label
- test case directory/file chooser
Add a button to output window to go directly to the output file
Refactor one method/class out of code and write one JUnit test to test it
Got started on this. We just have to finish writing the test.
Java version pop-up
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
SingleTesterTest does not print results
This test won't print the results for some reason.
Move readDataFromSettingsFile and writeDataToSettingsFile to a new SettingsController class
Config File location popup
This issue is similar to #7 so the code should be very similar. See the comments from that issue too.
Switch between Single test & Batch test configurations
The configuration file will need to be switched based on if the run is a single or batch run.
TextFields don't update after selecting files/directorys using JFileChooser
The textfields displaying the files and paths are updated once you restart the program instead of after you select a file/directory.
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:
- ApplicationSettingsController @ryosua
- BatchTester @ryosua
- Compiler @ryosua
- FileFilter @ryosua
- Main @ryosua
- StudentReader @ryosua
- ResultsController @Shane-E
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
Improve usability for selecting output file vs directory.
Example: Selecting the output file location requires you to select a file or type a file name ONLY in the file name field inside the JFileChooser.
Handle FileNotFoundExceptions when the user does not set a path
Fix build.xml for JUnit
Based off the feedback from the ant lab, we need to include the libs a different way.
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.
Output text area
The settings from the UI are saved to a Settings class, and are used to run the program instead of the hardcoded strings
- java version
- config file
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.
JFrame with a button to close the program
The checkbox for the output window is not selected/deselected depending on what the setting is
A text file with the results is outputted after the test is run
Radio selection between batch and single
Closing TrivialEdit closes the whole app
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)
The close option in the menu does not do anything.
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.
Display the settings chosen in the the config menu
Allow running of single test for different users
Provide a way to allow the user to select which student (and course) the professor wants to grade or view from the main menu.
Put all the Scrum 1 UI Components Together
Persistent settings
java.lang.NullPointerException
Improve the Output
Right now the output is coming from the compiler not the Testrunner.
The user should be able to choose the output location
Menu Bar
- Has a config menu with sub items for
- config file,
- and java version.
Set default directory for file chooser to C:/java
The view source to go to the specific students folder, not the entire folder.
Add instructions on how to compile and run the program to Readme
We should add some documentation to explain how to get the project setup and running.
Fix Settings File, Testing
We need to remove the else's to start.
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
Input arguments (bell and whistle)
We need for the user to be able to enter cmd args as well as choose input files.
Set the text fields to editable (bell and whistle) and save them
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.
Clean up original code
- Compiler
- TestTools
- TestRunner
Integrate Significant Testing Into Project
Winbash programs are failing on Windows 10
People working on this:
@Q-Lo
@Gilgaustus
Program compares expected results with actual results
Help Browser
A Help browser would be nice, but if you have a clearly written tutorial, that is not absolutely necessary.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.