SENG 301 – Tutorial 1 Introduction to Eclipse, Subclipse, and JUnit Slides: Theodore D. Hellmann.

Slides:



Advertisements
Similar presentations
TortoiseSVN By Group 1 Team B. Installing TortoiseSVN.
Advertisements

Litmus Learning Primer tests
Click Here for Download the Installation Files Click Here for Guide How to Extract Installation Files.
SENG 301 – Tutorial 1 Introduction to Eclipse and Subclipse Slides: Theodore D. Hellmann and Jamie Starke.
Version Control System (Sub)Version Control (SVN).
How to access AUXDATA March If you have not received a Username from your DSO-IS, do not go any further. Send a request to your FSO-IS/SO-IS asking.
Using Eclipse. Getting Started There are three ways to create a Java project: 1:Select File > New > Project, 2 Select the arrow of the button in the upper.
How to use a scanner Throughout this slide show there will be hyperlinks (highlighted in blue) follow the hyperlinks to navigate to the specified Topic.
1 Appendix A: Writing and Submitting SAS ® Programs A.1 Writing and Submitting SAS Programs.
Get android development environment running. Install – Get and install JDK 5 or 6 (see link in the.
Java Integrated Development Environments: ECLIPSE Part1 Installation.
INF 123: Software Architectures, Distributed Systems, and Interoperability Discussion Session Week 3 - Spring 2008 Instructor: Prof. Richard N. Taylor.
Using svn and git with Unity and sdk
Getting Started with Android Programming Note: if you have already installed android development tools, please check that you have the same version as.
New School Websites Teacher Pages. Visit the SCUSD Website for videos tutorials: For more information.
By Steven Campbell and Erik Boone.  Sharing projects by putting them into a central repository.  Checking out copies of projects from the repository.
Teacher Development Broward County Public Schools Matching Aspiring Teachers with Teacher Mentors Office of Talent Development formerly known as HRD.
Getting started with Eclipse By Alexander Butyaev.
Version Control with Subversion. What is Version Control Good For? Maintaining project/file history - so you don’t have to worry about it Managing collaboration.
November 2014Prepared by the Computer Lab Montgomery County-Norristown Public Library.
Chapter 1a© copyright Janson Industries RAD ▮ Explain Eclipse, RAD, and their relationship ▮ Basic RAD concepts ▮ How to install RAD ▮ How to import.
Android. The Eclipse IDE Installation Requirements: Eclipse Java Windows All must match (32-bit OR 64-bit) If you have a 64-bit OS & 32-bit browser,
Introduction to Android. Android as a system, is a java based operating system that runs on the Linux kernel. The system is very lightweight and full.
1 Install FTP for Curriculum Development Professional Development Training.
Microsoft FrontPage 2003 Illustrated Complete Finalizing a Web Site.
Screenshots of the E-book download For Windows and Flash disks.
Version Control Menggunakan TortoiseSVN
Open ModelSphere, a free CASE tool Page 1 © neosapiens 2010 Get Source Code from SVN Repository This tutorial explains how to get source code from a SVN.
SVN in Eclipse Presented by David Eisler 10/09/2014.
SENG 403 Tutorial 1 1SENG 403 – Winter Agenda Version Control Basics Subversion Basic actions in Subversion Some examples 2SENG 403 – Winter 2012.
Computer Science and Engineering The Ohio State University  Widely used, especially in the opensource community, to track all changes to a project and.
BIT 285: ( Web) Application Programming Lecture 18: Thursday, March 5, 2015 REST Creating a REST API Instructor: Craig Duckett.
Dr. Gina Green Class Setup.
Liferay Installation Prepared by: Do Xuan Hai 8 August 2011.
Team-Oriented Development with CVS and Eclipse Presented June 9, 2004 Manchester Java Users Group Meeting By Gregory C. Larkin.
Version Control CSC 517 John Slankas. Version Control Managing files and directories, and the changes made to them over time. - Adapted from “Version.
How To Configure Thunderbird For Your Webspace Account.
Tool Install How to download & install Java 6 & Eclipse updated version based on Dr. G. L. Ray’s slides.
From the home page go to the Podcast Publisher box since you will be the publisher of the podcast. That’s the darker green one on the top left. Click.
When collaborating, it is important to manage changes in the models. For example: –To create or edit a submodel E.g. Habitat suitability is replaced with.
Eclipse Project. Installing Visit to download a copy for your home computerhttp:// –Get Release version 3.0 (or.
(1) Installing the Software ICU Philip Johnson Collaborative Software Development Laboratory Information and Computer Sciences University of Hawaii Honolulu.
CSE 250 Spring  Can use either Eclipse plugin or web interface  For Eclipse, make sure all the files you want to submit are in the same project.
Loader Tutorial Set Up. Requirements Java 7 Eclipse IvyIDE plugin Git Optional: Ant Maven.
After completing this lesson, you will be able to: Add comments to a presentation. Send a presentation via . Track changes in a presentation. Use.
WinCVS Training è Basic Concepts è Download & Setup è Importing a new module into CVS Repository è Getting new module from CVS è Getting Latest version.
Subversion (SVN) is a widely used version control system and an essential piece of the MIMES collaborative modeling environment. It allows us to manage.
------TAO, MARKUS Project IT. JavaDoc ‣ JavaDoc is a standard method of commenting source code (interfaces, classes, methods, instances variables). ‣
Software Design– Unit Testing SIMPLE PRIMER ON Junit Junit is a free simple library that is added to Eclipse to all automated unit tests. The first step,
Spell Checker web service (you build a web client that interacts with the service) The client uses a servlet class and a JSP page. The user passes information.
Maryknoll Wireless Network Access Steps for Windows 7 As of Aug 20, 2012.
How to fix Error code 0x80072ee2 in Windows 8.1? Fix%20%20Update%20Error%200x80072EE2%20in%20Windows%20 8.1,%20Windows%2010!%20-%20Fix%20PC%20Errors.htm.
Fix: Windows 10 Error Code 0x in Mail App u/6/b/ /alexwaston14/reimage-system-repair/ /pages/Reimage-Repair-Tool/
PARTNER CHAT TROUBLESHOOTING TIPS FOR USING vistahigherlearning.com/chat.
 Step 1: Enabling the keyboard in window Skip this step if the computer does not enter sleep mode or if the computer.
Installing RMS 3.0 Contractor Mode
Delicious Social Bookmarking
Partner Chat TROUBLESHOOTING TIPS FOR USING
eBook Downloading Tutorial for METU
SVN intro (review).
SENG 301 – Tutorial 1 Introduction to Eclipse, Subclipse, and JUnit
How to Fi
bcb
Concurrent Version Control
Getting started in Eclipse
Bomgar Remote support software
Microsoft FrontPage 2003 Illustrated Complete
Install Ruby If you are running on Mac OS X, Ruby is preinstalled.
Subversion Basics Guide
Presentation transcript:

SENG 301 – Tutorial 1 Introduction to Eclipse, Subclipse, and JUnit Slides: Theodore D. Hellmann

Acquiring the Software - 1 Eclipse: - download “Eclipse Classic” from eclipse.org - remember it just unzips (no installation)‏ JUnit: - JUnit 3.4 and 4.3 comes with Eclipse is out; you can get it from junit.org

Acquiring the Software - 2 Subclipse: 1) Start Eclipse 2) Under the “Help” menu, click “Software Updates”, then select the “Available Software” tab 3) Click “Add Site…” and type in 4) Click the “OK” button, select the checkbox next to Subclipse, and click “Install…”

Using Eclipse - 1 First create a new project: - click on “File”, then “New”, then “Java Project” Next, create a new class: - click “File”, then “New”, then “Class” To run your code: - click on the “Run” menu, then on “Run”

Using Eclipse - 2 Some useful features: - Catches syntax errors while you code - Hover over an error (squiggly red line) for suggestions on how to fix it - Auto-Complete

Using Subclipse - 1 Before you can use Subclipse: - and ask for an SVN account - the should look something like “Hi, I need an SVN account for [your username], and the following people will need to be able to access it: [your partner’s usernames]” Standard operating procedure is to CC Dr. Sillito

Using Subclipse - 2 Help’s response will contain: - the link you’ll need to use when initially sharing the project and when accessing it - it should look something like: group[your group number here]

Using Subclipse - 3 To share a project: - create a project in Eclipse - right-click the project, hover over “Team” in the context menu, and click “Share Project…” - double-click “SVN”, then enter in the URL that Help sent you

Using Subclipse - 4 To access a shared project: - click on “Window”, hover over “Open Perspective…”, then click on “Other” - select “SVN Repository Exploring” from the list - next, right-click within that perspective, hover over “New”, then select “Repository Location” - enter in the URL, after which you will likely be prompted for your username and password

Using Subclipse - 5 The main commands you will use in Subclipse: Update: will check the repository for changes and add them to your code Commit: takes changes in your code and adds them to the server Merge: resolves conflicts discovered by either of the above operations

Using Subclipse - 6 The main commands you will use (continued): Synchronize: - allows you to select which changes to make to both code bases if there have been concurrent modifications - otherwise Subclipse may insert junk into your code!

Using Subclipse - 7 To take any of these actions: - right-click on your project, hover over “Team”, then select the action you want from the menu If you Update/Commit frequently, you’ll reduce the chance of creating a conflict, and also reduce the time it takes to sort a conflict out!

Testing - Definitions There are two main types of testing that JUnit is good for: Unit Testing - checks whether a subset of your project is working; for example that an individual method is performing as expected Acceptance Testing - checks whether your code as a whole is performing as expected

JUnit Testing - 1 To create a JUnit test class: - go to “File”, then “New”, then “JUnit Test Case” - type the name of the class you want to test into the box next to “Class under test:” - the convention is to name your test something along the lines of “[name]Test”, where [name] is the name of the class you’re testing.

JUnit Testing - 2 Put the tag before any method you want run before every test Put the tag before any method you want run after every test To write a test, just put the tag before a method If a test passes when an exception is thrown, use (expected = [exception name here])”

JUnit Testing - 3 Within a test, use Assert to make sure that your test code is behaving as expected. For example, if your method adds two numbers and returns the result, you might test it with: Assert.assertEquals(3, addThese(5, -2)); orAssert.assertTrue(4 == addThese(2, 2));

JUnit Testing - 4 To run a test class: - right-click on the class in the Package Explorer, hover over “Run An…” and select “JUnit Test”