Setting Up Eclipse for Webcat: Difference between revisions
No edit summary |
No edit summary |
||
Line 31: | Line 31: | ||
On a Debian-based Linux such as Ubuntu, installing Eclipse should be as easy as<br> | On a Debian-based Linux such as Ubuntu, installing Eclipse should be as easy as<br> | ||
<blockquote style="border: 1px solid black; padding: 6pt; line-spacing: 140%; background-color: #C1FFC1;"><tt> | <blockquote style="border: 1px solid black; padding: 6pt; line-spacing: 140%; background-color: #C1FFC1;"><tt> | ||
<b>apt-get update</b> | <b>apt-get update</b><br> | ||
<b>apt-get install</b> eclipse | <b>apt-get install</b> eclipse | ||
</tt></blockquote> | </tt></blockquote> | ||
or | or | ||
<blockquote style="border: 1px solid black; padding: 6pt; line-spacing: 140%; background-color: #C1FFC1;"><tt> | <blockquote style="border: 1px solid black; padding: 6pt; line-spacing: 140%; background-color: #C1FFC1;"><tt> | ||
<b>apt-get update</b><br> | |||
<b>aptitude install</b> eclipse | <b>aptitude install</b> eclipse | ||
</tt></blockquote> | </tt></blockquote> |
Revision as of 08:00, 26 March 2008
Introduction
This activity will guide you through basic usage of the Eclipse IDE and JUnit for use with Webcat. Please have a computer available on which you may install Eclipse IDE. Also, please note that the following conventions will be used to draw attention to different parts of the article.
Java Code will look like this.
PseudoCode will look like this.
Commands will look like this.
A string of menu commands will be marked as follows:
File => Save As
A string of keys will be marked as follows:
[Ctrl]+[Alt]+[Delete]
Instructive Graphics Will appear as follows:
Getting Started
To begin, make sure Eclipse is installed and working on your computer. It is often useful to install Eclipse onto a Linux environment, because it more closely mirrors the actual testing environment where your code will be compiled. I won't go into details, but in particular, installing Ubuntu Linux, or one of its derivatives such as KUbuntu, is very easy.
On a Debian-based Linux such as Ubuntu, installing Eclipse should be as easy as
apt-get update
apt-get install eclipse
or
apt-get update
aptitude install eclipse
On an RPM based distribution such as Red Hat Linux or Fedora Core
yum install eclipse
should do the trick.
You can also install Eclipse graphically through the package manager, such as Synaptic, Adept, or simply what will be marked as "Manage Software","Manage Packages","Add and Remove Programs", or something similar in your menu.