First Bug

48 views
Skip to first unread message

Shreedhar Manek

unread,
Mar 9, 2016, 2:55:05 PM3/9/16
to tryton
Hi,
I have been working on resolving the following bug - https://bugs.tryton.org/issue5363.

I have made use of help on the IRC channel and have made some changes in the code. But since this is the first bug that I have ever worked on, I need some additional help. I want to know how to proceed. How do I test the code? And once the testing is done, I assume I can submit it for review using the upload.py channel. Is that correct?

Thanks,
Shreedhar Manek

Cédric Krier

unread,
Mar 9, 2016, 3:10:04 PM3/9/16
to tryton
On 2016-03-09 11:17, Shreedhar Manek wrote:
> Hi,
> I have been working on resolving the following bug -
> https://bugs.tryton.org/issue5363.
>
> I have made use of help on the IRC channel and have made some changes in
> the code. But since this is the first bug that I have ever worked on, I
> need some additional help. I want to know how to proceed. How do I test the
> code?

First, you can test manually by installing and/or updating the database.
But also just login with the client and see if it is working.

You must also run the tests of the modules you are working on. For that
we have a script that setup everything:

./trytond/tests/run-tests.py --help

Especially to run the test of account and account_invoice:

./trytond/tests/run-tests.py -vv -m account account_invoice

> And once the testing is done, I assume I can submit it for review
> using the upload.py channel. Is that correct?

Yes, once you are confident that your patch is good.

--
Cédric Krier - B2CK SPRL
Email/Jabber: cedric...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/
Reply all
Reply to author
Forward
0 new messages