简体   繁体   中英

How can 'The Humble Dialog Box' be implement in Python 3 using the unittest framework?

This link shows an example using the nose test suite, however I am interested in understanding how this would look with the standard unittest test suite.

Further, in the link provided, what is the purpose of the @properties that are used, ie @selectionList.Setter

I am sure that the official documentation about Unit tests in Python 3 is pretty straightforward and the link you posted does not show anything that could not be done with another unit testing framework.

If you follow the tutorial, you can find your own way to write unit tests with pyunit.

In regards to the question about properties, there is a whole bunch of pages you might find useful:

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM