Skip to content

Python script for retrieving source files and methods.

Notifications You must be signed in to change notification settings

gmierz/SourceFilesAndMethods

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SourceFilesAndMethods

Python script for retrieving source files and methods.

So far it only runs in the console and all the information is output into it. I plan to have it writing to a file of some sort this week.

The JSON files were generated with |mach test testing/mochitest|.

The script should be run in a folder containing JSON files and SimpleTest.js from the directory: mozilla-central/obj-x86_64-unknown-linux-gnu/_tests/testing/mochitest/mochijar/chrome/mochikit/content/tests/SimpleTest/SimpleTest.js

You could also modify the couple of statements and change the directory to look through.

Any suggestions for improvements are greatly appreciated!

01/31/2016:

The file can now be run with testIsTest and it only needs to be given the directory containing JSON's files. It will find all the test and source files that were touched in the tests.

About

Python script for retrieving source files and methods.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages