Presentation is loading. Please wait.

Presentation is loading. Please wait.

Remote Unit Testing Brian Pruitt-Goddard Alex Riordan.

Similar presentations


Presentation on theme: "Remote Unit Testing Brian Pruitt-Goddard Alex Riordan."— Presentation transcript:

1 Remote Unit Testing Brian Pruitt-Goddard Alex Riordan

2 What's The Problem? Imagine you are a programmer working on a project. While away from your computer, you realize a potential problem area of your program and realize you need to run a few tests to make sure that it can handle certain conditions/inputs. Since you are away from your computer, you are forced to write your ideas down and hope you remember everything for later. Until now...

3 What Is Remote Unit Testing? It is an Android application that allows programmers to compile and run unit tests against their program remotely.

4 Client Specifics Basic text editing capabilities o New File o Open File o Save File o Edit File Issues server commands o Move o Delete o Compile o Push o Pull o Test

5 Server Specifics Handle incoming client requests and respond accordingly. Updates a log file that tracks every move, delete, push, pull, compile, and test (sometimes)

6 Architecture XML-RPC o Client-side: android-xmlrpc library o Server-side: apache xml-rpc JUnit API o provides programmatic access to JUnit functionalities Javax Tools library o provides programmatic access to compilation functionalities Android SDK version 2.2 o provides designer and emulator to easily develop the application for the Android phone.

7 If You Wish To Converse With Me, Define Your Terms

8 Moving A File Allows the user to move a file in their project MOVE 1.2. 3.

9 Deleting A File Allows the user to delete a file in their project DELETE 1.2. 3.

10 Pulling A File Allows the user to download a file from their project to their Android phone PULL 1.2. 3.

11 Pushing A File Allows the user to upload a file from their Android phone to their project PUSH 1.2. 3.

12 Compiling A File Allows the user to compile one or more java files in their project COMPILE 1.2. 3.

13 Testing A File Allows the user to run one or more unit tests at their project server TESTING 1,2,3 1. 2. 3. PASS! FAIL! PASS!

14 Revisions No server UI o Most options handled under client now Lacking security features o Username/password o Possibility for future implementation "Automatic timeout" not implemented

15 Future Extensibility Improve text editor o Syntax highlighting o More source control functions: diff, merge, etc. o Customize interface Improve server application o Add security features o Allow more complex compilation and unit test operations, including running entire test suites instead of modular unit tests o Addition of UI for monitoring purposes o More extensive logging capability

16 Questions?


Download ppt "Remote Unit Testing Brian Pruitt-Goddard Alex Riordan."

Similar presentations


Ads by Google