GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — jython/bugtests at master · jython/jython

Expand file tree

/

bugtests

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

bugtests

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
classes
classes
 
 
simplejar/javapackage
simplejar/javapackage
 
 
test238p
test238p
 
 
test240p
test240p
 
 
test241p
test241p
 
 
test243p
test243p
 
 
test244p
test244p
 
 
test342p
test342p
 
 
test364p
test364p
 
 
test386jar
test386jar
 
 
test387p
test387p
 
 
test392LibDir
test392LibDir
 
 
test394jar
test394jar
 
 
test400/x
test400/x
 
 
README.txt
README.txt
 
 
driver.py
driver.py
 
 
jarmaker.py
jarmaker.py
 
 
stdtest.py
stdtest.py
 
 
support.py
support.py
 
 
test239j1.java
test239j1.java
 
 
test239j2.java
test239j2.java
 
 
test241.py
test241.py
 
 
test243.py
test243.py
 
 
test244.py
test244.py
 
 
test267.py
test267.py
 
 
test305.py
test305.py
 
 
test305m.PY
test305m.PY
 
 
test306.py
test306.py
 
 
test321.py
test321.py
 
 
test322.py
test322.py
 
 
test322m.py
test322m.py
 
 
test323.py
test323.py
 
 
test324.py
test324.py
 
 
test325.py
test325.py
 
 
test326.py
test326.py
 
 
test327.py
test327.py
 
 
test328.py
test328.py
 
 
test329.py
test329.py
 
 
test329s1.py
test329s1.py
 
 
test329s2.py
test329s2.py
 
 
test329s3.py
test329s3.py
 
 
test330.py
test330.py
 
 
test331.py
test331.py
 
 
test332.py
test332.py
 
 
test333.py
test333.py
 
 
test333s1.py
test333s1.py
 
 
test333s2.py
test333s2.py
 
 
test333s3.py
test333s3.py
 
 
test334.py
test334.py
 
 
test335.py
test335.py
 
 
test336.py
test336.py
 
 
test338.py
test338.py
 
 
test338cl.java
test338cl.java
 
 
test338j.java
test338j.java
 
 
test338j1.java
test338j1.java
 
 
test338m.py
test338m.py
 
 
test339.py
test339.py
 
 
test339c.py
test339c.py
 
 
test340.py
test340.py
 
 
test340c.py
test340c.py
 
 
test340j.java
test340j.java
 
 
test341.py
test341.py
 
 
test341c1.py
test341c1.py
 
 
test341c2.py
test341c2.py
 
 
test342.py
test342.py
 
 
test342m.py
test342m.py
 
 
test343.py
test343.py
 
 
test343j.java
test343j.java
 
 
test344.py
test344.py
 
 
test345.py
test345.py
 
 
test345c.py
test345c.py
 
 
test346.py
test346.py
 
 
test347.py
test347.py
 
 
test348.py
test348.py
 
 
test349.py
test349.py
 
 
test350.py
test350.py
 
 
test351.py
test351.py
 
 
test352.py
test352.py
 
 
test353.py
test353.py
 
 
test354.py
test354.py
 
 
test355.py
test355.py
 
 
test356.py
test356.py
 
 
test357.py
test357.py
 
 
test358.py
test358.py
 
 
test360.py
test360.py
 
 
test361.py
test361.py
 
 
test362.py
test362.py
 
 
test363.py
test363.py
 
 
test364.py
test364.py
 
 
test365.py
test365.py
 
 
test365c.py
test365c.py
 
 
test366i.java
test366i.java
 
 
test366j.java
test366j.java
 
 
test367.py
test367.py
 
 
test368.py
test368.py
 
 
test370.py
test370.py
 
 
test371.py
test371.py
 
 
test372.py
test372.py
 
 
test374.py
test374.py
 
 
test375.py
test375.py
 
 

README.txt

This directory contains small tests that attempt to ensure that old fixed
bugs do not reappear.

These tests are not actively maintained and while many pass, others have been
broken by changes in the main codebase and now fail for what might be spurious
reasons.

As the regression tests have grown, the need for these has largely ceased.
It is likely these tests will be removed eventually.


Running
=======

Start a command prompt in this ("bugtests") directory. Make sure that 
the "classes" subdirectory is included in the CLASSPATH environment 
variable and that the "bugtests" directory is *not* included in in CLASSPATH.

Create a file called "support_config.py" which contains the following three
entries:

-----
java_home = ""
jython_home = ""
classpath = ""
-----

This is used to make the tests more platform independent.  My file for OS X
looks like:

-----
java_home = "/Library/Java/Home"
jython_home = "/Users/bzimmer/Development/sourceforge/jython/dist"
classpath = jython_home + "/jython-dev.jar:classes"
-----

Run the script "driver.py".

After running the tests the applets should be tested by starting the 
appletviewer on all the *.html files. Both MS and javasoft's appletviewer
should be tested.

Adding new tests
================

The tests follow a strict naming scheme that ensure that we always know
which files that belong to each test. The main script of each test is called
"testNNN" where NNN is a 3-digit number. All other files that belong to this
test also starts with testNNN. There are no exceptions to this rule!

Dependent file normally follow a simple naming

testNNNp    a python package
testNNNm    a python module
testNNNj    a java class
testNNNi    a java interface
testNNNc    a python module meant for compilation with jythonc.
testNNNa    an applet, compiled with jythonc.
testNNNs    modules with deliberate syntax errors.

The tests should always complete without throwing exceptions or errors. Since
these tests also cover bugs which may not have been fixed yet, the test should
instead throw a TestWarning exception. When the bug is fixed the TestWarning
should be removed and replaced with a TestError instead.




You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.