[Sugar-devel] WANT TO CONTRIBUTE TO SUGAR LABS FOR GSOC 2021

James Cameron quozl at laptop.org
Tue Jan 12 15:43:49 EST 2021


I agree, there is no simple explanation for how to test code, as it
depends exactly on where the change is made.

However, I'm surprised if one would ever reach the point of having to
test a change without knowing how to run the program that you are
about to change.  That would be very much going forward blindly.

On Tue, Jan 12, 2021 at 08:19:51PM +0300, Srevin Saju wrote:
> It would be quite complicated to explain what to check. We would be able to
> explain better if you could send a draft Pull Request and ping me there.
> 
> Some basic ways to test, common to all activities / sugar / any FOSS
> software would be to:
> 
> 1. Clone the source, checkout master
> 2. Login to Sugar
> 3. Run the software / activity : (in sugar, it would be to run `python
>    setup.py install` or `python setup.py dev`, click on the activity's
>    icon on the Sugar Home view
> 4. Make your changes, GOTO STEP 2 and repeat those with your new changes.
> 5. Finally, push your changes when you are satisfied.
> 6. Have fun.
> 
> On 1/12/21 8:08 PM, Kunal Tulsidasani wrote:
> > Thankyou for your reply!
> > 
> > I have read this file and this shows on what bases to check!
> > 
> > I want to know how to check? Like what should I do?
> > 
> > Regards
> > Kunal
> > 
> > On Tue, 12 Jan 2021, 22:26 Srevin Saju, <srevinsaju at sugarlabs.org
> > <mailto:srevinsaju at sugarlabs.org>> wrote:
> > 
> >     You might be interested in
> >     https://github.com/sugarlabs/sugar-docs/blob/master/src/contributing.md#checklist---anyone
> >     <https://github.com/sugarlabs/sugar-docs/blob/master/src/contributing.md#checklist---anyone>
> > 
> >     . You may go through each step before submitting your Pull Request.
> > 
> >     On 1/12/21 7:52 PM, Kunal Tulsidasani wrote:
> >     > should test my code (Procedure) after making commits before
> >     making any
> >     > pull requests?
> >     >
> >     --     Srevin Saju
> >     https://srevinsaju.me <https://srevinsaju.me>
> > 
> -- 
> Srevin Saju
> https://srevinsaju.me
> 

pub   RSA 4096/66D390D7 2020-05-19 Srevin Saju (srevinsaju) <srevinsaju at sugarlabs.org>
> sub   RSA 4096/14479587 2020-05-19
> 




> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel


-- 
James Cameron
https://quozl.linux.org.au/


More information about the Sugar-devel mailing list