Skip to content
This repository has been archived by the owner on May 28, 2022. It is now read-only.

Unit Test and Code Refactor #484

Open
zxiiro opened this issue Feb 12, 2014 · 0 comments
Open

Unit Test and Code Refactor #484

zxiiro opened this issue Feb 12, 2014 · 0 comments

Comments

@zxiiro
Copy link
Member

zxiiro commented Feb 12, 2014

Many of the classes in Freeseer lack sufficient unit testing. This project will involve going through the code base documenting what is lacking and creating any unit tests for the lacking areas. Potentially you will also need to refactor any code that is necessary based on implemented unit tests.

@zxiiro zxiiro added this to the GSoC 2014 Project Ideas milestone Feb 12, 2014
SRomansky pushed a commit to SRomansky/freeseer that referenced this issue Sep 20, 2014
The contributor testing page contained examples of writing UnitTest
unit tests. The references and examples have been updated with pytest
information instead of UnitTest information. Therefore, new or existing,
contributors will now have a brief introduction to writing and running
the Freeseer pytest unit tests.

Fix Freeseer#566
Related Freeseer#420
Related Freeseer#484
SRomansky pushed a commit to SRomansky/freeseer that referenced this issue Sep 20, 2014
The contributor testing page contained examples of writing UnitTest
unit tests. The references and examples have been updated with pytest
information instead of UnitTest information. Therefore, new or existing,
contributors will now have a brief introduction to writing and running
the Freeseer pytest unit tests.

Fix Freeseer#566
Related Freeseer#420
Related Freeseer#484
SRomansky pushed a commit to SRomansky/freeseer that referenced this issue Sep 20, 2014
The contributor testing page contained examples of writing UnitTest
unit tests. The references and examples have been updated with pytest
information instead of UnitTest information. Therefore, new or existing,
contributors will now have a brief introduction to writing and running
the Freeseer pytest unit tests.

Fix Freeseer#566
Related Freeseer#420
Related Freeseer#484
SRomansky pushed a commit to SRomansky/freeseer that referenced this issue Sep 21, 2014
The contributor testing page contained examples of writing UnitTest
unit tests. The references and examples have been updated with pytest
information instead of UnitTest information. Therefore, new or existing,
contributors will now have a brief introduction to writing and running
the Freeseer pytest unit tests.

Fix Freeseer#566
Related Freeseer#420
Related Freeseer#484
SRomansky pushed a commit to SRomansky/freeseer that referenced this issue Sep 21, 2014
The contributor testing page contained examples of writing UnitTest
unit tests. The references and examples have been updated with pytest
information instead of UnitTest information. Therefore, new or existing,
contributors will now have a brief introduction to writing and running
the Freeseer pytest unit tests.

Fix Freeseer#566
Related Freeseer#420
Related Freeseer#484
SRomansky pushed a commit to SRomansky/freeseer that referenced this issue Sep 26, 2014
The contributor testing page contained examples of writing UnitTest
unit tests. The references and examples have been updated with pytest
information instead of UnitTest information. Therefore, new or existing,
contributors will now have a brief introduction to writing and running
the Freeseer pytest unit tests.

Fix Freeseer#566
Related Freeseer#420
Related Freeseer#484
SRomansky pushed a commit to SRomansky/freeseer that referenced this issue Sep 26, 2014
The contributor testing page contained examples of writing UnitTest
unit tests. The references and examples have been updated with pytest
information instead of UnitTest information. Therefore, new or existing,
contributors will now have a brief introduction to writing and running
the Freeseer pytest unit tests.

Fix Freeseer#566
Related Freeseer#420
Related Freeseer#484
SRomansky pushed a commit to SRomansky/freeseer that referenced this issue Sep 26, 2014
The contributor testing page contained examples of writing UnitTest
unit tests. The references and examples have been updated with pytest
information instead of UnitTest information. Therefore, new or existing,
contributors will now have a brief introduction to writing and running
the Freeseer pytest unit tests.

Fix Freeseer#566
Related Freeseer#420
Related Freeseer#484
SRomansky pushed a commit to SRomansky/freeseer that referenced this issue Sep 30, 2014
The contributor testing page contained examples of writing UnitTest
unit tests. The references and examples have been updated with pytest
information instead of UnitTest information. Therefore, new or existing,
contributors will now have a brief introduction to writing and running
the Freeseer pytest unit tests.

Fix Freeseer#566
Related Freeseer#420
Related Freeseer#484
SRomansky pushed a commit to SRomansky/freeseer that referenced this issue Oct 1, 2014
The contributor testing page contained examples of writing UnitTest
unit tests. The references and examples have been updated with pytest
information instead of UnitTest information. Therefore, new or existing,
contributors will now have a brief introduction to writing and running
the Freeseer pytest unit tests.

Fix Freeseer#566
Related Freeseer#420
Related Freeseer#484
SRomansky pushed a commit to SRomansky/freeseer that referenced this issue Oct 1, 2014
The contributor testing page contained examples of writing UnitTest
unit tests. The references and examples have been updated with pytest
information instead of UnitTest information. Therefore, new or existing,
contributors will now have a brief introduction to writing and running
the Freeseer pytest unit tests.

Fix Freeseer#566
Related Freeseer#420
Related Freeseer#484
SRomansky pushed a commit to SRomansky/freeseer that referenced this issue Oct 2, 2014
The contributor testing page contained examples of writing UnitTest
unit tests. The references and examples have been updated with pytest
information instead of UnitTest information. Therefore, new or existing,
contributors will now have a brief introduction to writing and running
the Freeseer pytest unit tests.

Fix Freeseer#566
Related Freeseer#420
Related Freeseer#484
SRomansky pushed a commit to SRomansky/freeseer that referenced this issue Oct 2, 2014
The contributor testing page contained examples of writing UnitTest
unit tests. The references and examples have been updated with pytest
information instead of UnitTest information. Therefore, new or existing,
contributors will now have a brief introduction to writing and running
the Freeseer pytest unit tests.

Fix Freeseer#566
Related Freeseer#420
Related Freeseer#484
SRomansky pushed a commit to SRomansky/freeseer that referenced this issue Nov 1, 2014
-Removed test methods that only check function return types
-Created resources folder for common test data like test rss feeds
-Fixed database.py query bugs
-Added database folder for database related tests
-Refactored common database fixtures into the database conftest file
-Refactored comments in database.py
-Refactored queries in database.py to have better style and santization
-Added comments and examples of the presentation time stamps
-Removed unused functions from database.py
-Added httpretty mock tests for database.py
-Added a database schema upgrade test
-Added tests that check multiple scenarios of each method in database.py

Related Freeseer#484
SRomansky pushed a commit to SRomansky/freeseer that referenced this issue Nov 3, 2014
-Removed test methods that only check function return types
-Created resources folder for common test data like test rss feeds
-Fixed database.py query bugs
-Added database folder for database related tests
-Refactored common database fixtures into the database conftest file
-Refactored comments in database.py
-Refactored queries in database.py to have better style and santization
-Added comments and examples of the presentation time stamps
-Removed unused functions from database.py
-Added httpretty mock tests for database.py
-Added a database schema upgrade test
-Added tests that check multiple scenarios of each method in database.py

Related Freeseer#484
SRomansky pushed a commit to SRomansky/freeseer that referenced this issue Nov 8, 2014
-Removed test methods that only check function return types
-Created resources folder for common test data like test rss feeds
-Fixed database.py query bugs
-Added database folder for database related tests
-Refactored common database fixtures into the database conftest file
-Refactored comments in database.py
-Refactored queries in database.py to have better style and santization
-Added comments and examples of the presentation time stamps
-Removed unused functions from database.py
-Added httpretty mock tests for database.py
-Added a database schema upgrade test
-Added tests that check multiple scenarios of each method in database.py
-Replaced string % operators with calls to format for nonlog string formatting
-Removed several try/finally statements and replaced them with 'with's
-Fixed an exception logging statement which referred to an out of scope value

Related Freeseer#484
SRomansky pushed a commit to SRomansky/freeseer that referenced this issue Nov 15, 2014
- Remove test methods that only check function return types

- Create resources folder for common test data like test rss feeds

- Fix database.py query bugs

- Add database folder for database related tests

- Refactor common database fixtures into the database conftest file

- Refactor comments in database.py

- Refactor queries in database.py to have better style and sanitization

- Add comments and examples of the presentation time stamps

- Remove unused functions from database.py

- Add httpretty mock tests for database.py

- Add a database schema upgrade test

- Add tests that check multiple scenarios of each method in database.py

- Replace string % operators with calls to format for nonlog string formatting

- Remove several try/finally statements and replaced them with 'with's

- Fix an exception logging statement which referred to an out of scope value

Related Freeseer#484
SRomansky pushed a commit to SRomansky/freeseer that referenced this issue Nov 17, 2014
- Remove test methods that only check function return types

- Create resources folder for common test data like test rss feeds

- Fix database.py query bugs

- Add database folder for database related tests

- Refactor common database fixtures into the database conftest file

- Refactor comments in database.py

- Refactor queries in database.py to have better style and sanitization

- Add comments and examples of the presentation time stamps

- Remove unused functions from database.py

- Add httpretty mock tests for database.py

- Add a database schema upgrade test

- Add tests that check multiple scenarios of each method in database.py

- Replace string % operators with calls to format for nonlog string formatting

- Remove several try/finally statements and replaced them with 'with's

- Fix an exception logging statement which referred to an out of scope value

Related Freeseer#484
SRomansky pushed a commit to SRomansky/freeseer that referenced this issue Nov 20, 2014
- Refactor test_plugins to use pytest

- add new functionality tests

- Add FIXME comment for firewiresrc issue

- Create git issue to track FIXME status

- Add a plugin information cache fixture for test efficiency

Fix Freeseer#642
Related to Freeseer#619
Related to Freeseer#484
dideler pushed a commit that referenced this issue Nov 20, 2014
- Refactor test_plugins to use pytest
- Add new plugin tests
- Add FIXME comment for firewiresrc issue

Related to #619
Related to #484
SRomansky pushed a commit to SRomansky/freeseer that referenced this issue Dec 4, 2014
- Remove test methods that only check function return types

- Create resources folder for common test data like test rss feeds

- Fix database.py query bugs

- Add database folder for database related tests

- Refactor common database fixtures into the database conftest file

- Refactor comments in database.py

- Refactor queries in database.py to have better style and sanitization

- Add comments and examples of the presentation time stamps

- Remove unused functions from database.py

- Add httpretty mock tests for database.py

- Add a database schema upgrade test

- Add tests that check multiple scenarios of each method in database.py

- Replace string % operators with calls to format for nonlog string formatting

- Remove several try/finally statements and replaced them with 'with's

- Fix an exception logging statement which referred to an out of scope value

Related Freeseer#484
SRomansky pushed a commit to SRomansky/freeseer that referenced this issue Dec 4, 2014
- Remove test methods that only check function return types

- Create resources folder for common test data like test rss feeds

- Fix database.py query bugs

- Add database folder for database related tests

- Refactor common database fixtures into the database conftest file

- Refactor comments in database.py

- Refactor queries in database.py to have better style and sanitization

- Add comments and examples of the presentation time stamps

- Remove unused functions from database.py

- Add httpretty mock tests for database.py

- Add a database schema upgrade test

- Add tests that check multiple scenarios of each method in database.py

- Replace string % operators with calls to format for nonlog string formatting

- Remove several try/finally statements and replaced them with 'with's

- Fix an exception logging statement which referred to an out of scope value

- Add failure and presentation equality and inequality comparison functions

- Add example of parameterized test with fixtures

- Fix relative path bug from linux convention to multi-platform in
  test_rss_feedparser.py

- Add fixtures based on summer camp 2010 and 2011 stored data

- Add rough copy of new schema

Related Freeseer#484
Related Freeseer#651
Related Freeseer#667
Related Freeseer#670
SRomansky pushed a commit to SRomansky/freeseer that referenced this issue Dec 4, 2014
- Remove test methods that only check function return types

- Create resources folder for common test data like test rss feeds

- Fix database.py query bugs

- Add database folder for database related tests

- Refactor common database fixtures into the database conftest file

- Refactor comments in database.py

- Refactor queries in database.py to have better style and sanitization

- Add comments and examples of the presentation time stamps

- Remove unused functions from database.py

- Add httpretty mock tests for database.py

- Add a database schema upgrade test

- Add tests that check multiple scenarios of each method in database.py

- Replace string % operators with calls to format for nonlog string formatting

- Remove several try/finally statements and replaced them with 'with's

- Fix an exception logging statement which referred to an out of scope value

- Add failure and presentation equality and inequality comparison functions

- Add example of parameterized test with fixtures

- Fix relative path bug from linux convention to multi-platform in
  test_rss_feedparser.py

- Add fixtures based on summer camp 2010 and 2011 stored data

- Add rough copy of new schema

Related Freeseer#484
Related Freeseer#667
Related Freeseer#670
SRomansky pushed a commit to SRomansky/freeseer that referenced this issue Dec 18, 2014
- Remove test methods that only check function return types

- Create resources folder for common test data like test rss feeds

- Fix database.py query bugs

- Add database folder for database related tests

- Refactor common database fixtures into the database conftest file

- Refactor comments in database.py

- Refactor queries in database.py to have better style and sanitization

- Add comments and examples of the presentation time stamps

- Remove unused functions from database.py

- Add httpretty mock tests for database.py

- Add a database schema upgrade test

- Add tests that check multiple scenarios of each method in database.py

- Replace string % operators with calls to format for nonlog string formatting

- Remove several try/finally statements and replaced them with 'with's

- Fix an exception logging statement which referred to an out of scope value

- Add failure and presentation equality and inequality comparison functions

- Add example of parameterized test with fixtures

- Fix relative path bug from linux convention to multi-platform in
  test_rss_feedparser.py

- Add fixtures based on summer camp 2010 and 2011 stored data

- Add rough copy of new schema

Related Freeseer#484
Related Freeseer#667
Related Freeseer#670
SRomansky pushed a commit to SRomansky/freeseer that referenced this issue Dec 18, 2014
dideler pushed a commit that referenced this issue Dec 19, 2014
SRomansky pushed a commit to SRomansky/freeseer that referenced this issue Dec 19, 2014
- Remove test methods that only check function return types

- Create resources folder for common test data like test rss feeds

- Fix database.py query bugs

- Add database folder for database related tests

- Refactor common database fixtures into the database conftest file

- Refactor comments in database.py

- Refactor queries in database.py to have better style and sanitization

- Add comments and examples of the presentation time stamps

- Remove unused functions from database.py

- Add httpretty mock tests for database.py

- Add a database schema upgrade test

- Add tests that check multiple scenarios of each method in database.py

- Replace string % operators with calls to format for nonlog string formatting

- Remove several try/finally statements and replaced them with 'with's

- Fix an exception logging statement which referred to an out of scope value

- Add failure and presentation equality and inequality comparison functions

- Add example of parameterized test with fixtures

- Add fixtures based on summer camp 2010 and 2011 stored data

Related Freeseer#484
Related Freeseer#667
Related Freeseer#670
SRomansky pushed a commit to SRomansky/freeseer that referenced this issue Dec 19, 2014
dideler pushed a commit that referenced this issue Dec 19, 2014
SRomansky pushed a commit to SRomansky/freeseer that referenced this issue Dec 19, 2014
- Remove test methods that only check function return types

- Create resources folder for common test data like test rss feeds

- Fix database.py query bugs

- Add database folder for database related tests

- Refactor common database fixtures into the database conftest file

- Refactor comments in database.py

- Refactor queries in database.py to have better style and sanitization

- Add comments and examples of the presentation time stamps

- Remove unused functions from database.py

- Add httpretty mock tests for database.py

- Add a database schema upgrade test

- Add tests that check multiple scenarios of each method in database.py

- Replace string % operators with calls to format for nonlog string formatting

- Remove several try/finally statements and replaced them with 'with's

- Fix an exception logging statement which referred to an out of scope value

- Add failure and presentation equality and inequality comparison functions

- Add example of parameterized test with fixtures

- Add fixtures based on summer camp 2010 and 2011 stored data

Related Freeseer#484
Related Freeseer#667
Related Freeseer#670
SRomansky pushed a commit to SRomansky/freeseer that referenced this issue Dec 19, 2014
- Remove test methods that only check function return types

- Create resources folder for common test data like test rss feeds

- Fix database.py query bugs

- Add database folder for database related tests

- Refactor common database fixtures into the database conftest file

- Refactor comments in database.py

- Refactor queries in database.py to have better style and sanitization

- Add comments and examples of the presentation time stamps

- Remove unused functions from database.py

- Add httpretty mock tests for database.py

- Add a database schema upgrade test

- Add tests that check multiple scenarios of each method in database.py

- Replace string % operators with calls to format for nonlog string formatting

- Remove several try/finally statements and replaced them with 'with's

- Fix an exception logging statement which referred to an out of scope value

- Add failure and presentation equality and inequality comparison functions

- Add example of parameterized test with fixtures

- Add fixtures based on summer camp 2010 and 2011 stored data

Related Freeseer#484
Related Freeseer#667
Related Freeseer#670
SRomansky pushed a commit to SRomansky/freeseer that referenced this issue Dec 27, 2014
- Remove test methods that only check function return types

- Create resources folder for common test data like test rss feeds

- Fix database.py query bugs

- Add database folder for database related tests

- Refactor common database fixtures into the database conftest file

- Refactor comments in database.py

- Refactor queries in database.py to have better style and sanitization

- Add comments and examples of the presentation time stamps

- Remove unused functions from database.py

- Add httpretty mock tests for database.py

- Add a database schema upgrade test

- Add tests that check multiple scenarios of each method in database.py

- Replace string % operators with calls to format for nonlog string formatting

- Remove several try/finally statements and replaced them with 'with's

- Fix an exception logging statement which referred to an out of scope value

- Add failure and presentation equality and inequality comparison functions

- Add example of parameterized test with fixtures

- Add fixtures based on summer camp 2010 and 2011 stored data

Related Freeseer#484
Related Freeseer#667
Related Freeseer#670
SRomansky pushed a commit to SRomansky/freeseer that referenced this issue Dec 28, 2014
Added tests which simulate user interacting with the configtool
interface.

- Added dropdown menu user input simulating tests

- Added tree widget user input simulating simulating test

- Add a FIXME comment for the configuration reset button

Related Freeseer#484
Fix Freeseer#651
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant