Bug 27991
| Summary: | bugzilla_unitest.py needs to know how to run a local bugzilla instance | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Eric Seidel (no email) <eric> |
| Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | ddkilzer |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | PC | ||
| OS: | OS X 10.5 | ||
| Bug Depends on: | |||
| Bug Blocks: | 27977 | ||
Eric Seidel (no email)
bugzilla_unitest.py needs to know how to run a local bugzilla instance
I've never set up bugzilla before. :) But I do believe it should be possible for us to run a local instance from our python unit tests so that we can test the functions in bugzilla.py against a live instance.
I ran ./BugsSite/checksetup.pl once to learn that we'll need a whole bunch of perl modules installed on any machine that wants to run bugzilla. :(
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Eric Seidel (no email)
This doesn't block bug 27977, but is related.
David Kilzer (:ddkilzer)
(In reply to comment #0)
> I ran ./BugsSite/checksetup.pl once to learn that we'll need a whole bunch of
> perl modules installed on any machine that wants to run bugzilla. :(
You also need a database (PostgreSQL, MySQL or Oracle). Having bugs in the database would be handy as well, but you might be able to come up with a way to mirror a small subset of bugs from bugs.webkit.org with the WebServices API.
Eric Seidel (no email)
We can easily dump some bugs into some fixture files though. I bet it's possible to run mysql with some flat-file backends. I had thought mysql came installed on mac os x, but I guess not.