Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

38 property based testing #61

Merged
merged 23 commits into from
Aug 5, 2020
Merged

38 property based testing #61

merged 23 commits into from
Aug 5, 2020

Conversation

albsch
Copy link
Member

@albsch albsch commented Jul 17, 2020

  • Merged worked of @WoelkiM on property-based testing, converting eqc to PropEr tests
  • Removed eqc profile from rebar configuration
  • Removed two unused include files

WoelkiM and others added 23 commits March 19, 2020 16:02
* #38 First tests, these are not yet fully functional.

* #38 rewrite done

* #38 update travis

* #38 adjust number of test executions

Co-authored-by: Peter Zeller <p_zeller@cs.uni-kl.de>
* #38 First tests, these are not yet fully functional.
* quickcheck wip
* #38 rewrite done
* #38 update travis
* #38 adjust number of test executions
* #38 update coverage + bug fixing in riak_core_claim

Co-authored-by: Peter Zeller <p_zeller@cs.uni-kl.de>
…38_Property_based_Testing

# Conflicts:
#	test/eqc/vclock_qc.erl
@albsch albsch added enhancement New feature or request testing labels Jul 17, 2020
AS2 = riak_core_claim_util:summarize_am(dict:to_list(FixDAM2)),
?WHENFAIL(
begin
io:format(user, "S=~p\nOwners =~p\n", [S, Owners]),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is proper really using io:format for test outputs?


test_ids_are_boundaries() ->
test_ids_are_boundaries(?TEST_TIME_SECS).
%TODO check time sec
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shall we make issues for the todos?

@bieniusa
Copy link
Member

Can you please provide a description in the pull request of the major changes? This simplifies it later to understand why some modules disappeared ;)

@albsch albsch added this to the Up-to-date riak_core milestone Jul 20, 2020
This was linked to issues Jul 20, 2020
@albsch albsch removed a link to an issue Jul 21, 2020
2 tasks
@WoelkiM
Copy link
Collaborator

WoelkiM commented Jul 27, 2020

Main changes:
** Rewriting the eqc tests in propEr test.
** Restructuring of the test.Individual proper tests, which were in the unit tests, were restructured into new files and collected in test - pqc.

@albsch albsch merged commit 1e7b5e9 into master Aug 5, 2020
@albsch albsch deleted the 38-Property-based-testing branch August 28, 2020 12:25
albsch added a commit that referenced this pull request Jul 13, 2021
* update travis
* adjust number of test executions
* update coverage + bug fixing in riak_core_claim

Co-authored-by: Wölki <55596379+WoelkiM@users.noreply.github.com>
Co-authored-by: woelki <m_woelki14@cs.uni-kl.de>
Co-authored-by: Peter Zeller <p_zeller@cs.uni-kl.de>
albsch added a commit that referenced this pull request Jul 13, 2021
* update travis
* adjust number of test executions
* update coverage + bug fixing in riak_core_claim

Co-authored-by: Wölki <55596379+WoelkiM@users.noreply.github.com>
Co-authored-by: woelki <m_woelki14@cs.uni-kl.de>
Co-authored-by: Peter Zeller <p_zeller@cs.uni-kl.de>
albsch added a commit that referenced this pull request Jul 13, 2021
* update travis
* adjust number of test executions
* update coverage + bug fixing in riak_core_claim

Co-authored-by: Wölki <55596379+WoelkiM@users.noreply.github.com>
Co-authored-by: woelki <m_woelki14@cs.uni-kl.de>
Co-authored-by: Peter Zeller <p_zeller@cs.uni-kl.de>
albsch added a commit that referenced this pull request Jul 13, 2021
* update travis
* adjust number of test executions
* update coverage + bug fixing in riak_core_claim

Co-authored-by: Wölki <55596379+WoelkiM@users.noreply.github.com>
Co-authored-by: woelki <m_woelki14@cs.uni-kl.de>
Co-authored-by: Peter Zeller <p_zeller@cs.uni-kl.de>
albsch added a commit that referenced this pull request Jul 13, 2021
* update travis
* adjust number of test executions
* update coverage + bug fixing in riak_core_claim

Co-authored-by: Wölki <55596379+WoelkiM@users.noreply.github.com>
Co-authored-by: woelki <m_woelki14@cs.uni-kl.de>
Co-authored-by: Peter Zeller <p_zeller@cs.uni-kl.de>
albsch added a commit that referenced this pull request Jul 13, 2021
* update travis
* adjust number of test executions
* update coverage + bug fixing in riak_core_claim

Co-authored-by: Wölki <55596379+WoelkiM@users.noreply.github.com>
Co-authored-by: woelki <m_woelki14@cs.uni-kl.de>
Co-authored-by: Peter Zeller <p_zeller@cs.uni-kl.de>
albsch added a commit that referenced this pull request Jul 13, 2021
* riak_core_vnode_worker_pool to gen_statem (#19)
* Added E22 to pipeline
* Fixed Readme and descriptions to fit riak_core_lite
* Included outside dependencies again
 * Fixed deprecation warnings in those dependencies
* Added xref to pipeline
* Added badge that tracks hex.pm version
* Added coverage support
* Removed unused test dependencies (goldrush, mustache). Added missing meck dependency to tests
* Made edoc work again. Replaced macros with direct calls. Added edoc to pipeline
* Replaced mochiglobal with persistent_term (#43)
* Added lint command and lint to pipeline (#35)
* #35 (#45)
* fix riak_core_status:ringready/0 (#52) Added test case.
* Formatter (#53)
* Added default rebar3_format
* Changed to otp_formatter, fixed one issue in code by refactoring
* Adjusted pipeline
* Unused modules (#58)
* Bloom filter removed
* Removed stats util modules
* Removed one eqc files.
* property based testing (#61)
* update travis
* adjust number of test executions
* update coverage + bug fixing in riak_core_claim
* 20 replaced riak_core_gen_server with gen_server (#63)
* Erlang 23 Pipeline (#64)
* Format with E23, increased line length by 20
* Added E23 to pipeline
* PR basho#959 upstream (#65)
* Added unit test case which enforces the deadlock prior the fix
* V0.10.1 release
* #70
* Moved proper to project_plugins (#72)
* Finish removing bucket properties and buckets (#75)

Co-authored-by: Wölki <55596379+WoelkiM@users.noreply.github.com>
Co-authored-by: Andreas Schultz <andreas.schultz@travelping.com>
Co-authored-by: woelki <m_woelki14@cs.uni-kl.de>
Co-authored-by: Peter Zeller <p_zeller@cs.uni-kl.de>
albsch added a commit that referenced this pull request Mar 21, 2022
* riak_core_vnode_worker_pool to gen_statem (#19)
* Added E22 to pipeline
* Fixed Readme and descriptions to fit riak_core_lite
* Included outside dependencies again
 * Fixed deprecation warnings in those dependencies
* Added xref to pipeline
* Added badge that tracks hex.pm version
* Added coverage support
* Removed unused test dependencies (goldrush, mustache). Added missing meck dependency to tests
* Made edoc work again. Replaced macros with direct calls. Added edoc to pipeline
* Replaced mochiglobal with persistent_term (#43)
* Added lint command and lint to pipeline (#35)
* #35 (#45)
* fix riak_core_status:ringready/0 (#52) Added test case.
* Formatter (#53)
* Added default rebar3_format
* Changed to otp_formatter, fixed one issue in code by refactoring
* Adjusted pipeline
* Unused modules (#58)
* Bloom filter removed
* Removed stats util modules
* Removed one eqc files.
* property based testing (#61)
* update travis
* adjust number of test executions
* update coverage + bug fixing in riak_core_claim
* 20 replaced riak_core_gen_server with gen_server (#63)
* Erlang 23 Pipeline (#64)
* Format with E23, increased line length by 20
* Added E23 to pipeline
* PR basho#959 upstream (#65)
* Added unit test case which enforces the deadlock prior the fix
* V0.10.1 release
* #70
* Moved proper to project_plugins (#72)
* Finish removing bucket properties and buckets (#75)

Co-authored-by: Andreas Schultz <andreas.schultz@travelping.com>
Co-authored-by: woelki <m_woelki14@cs.uni-kl.de>
Co-authored-by: Peter Zeller <p_zeller@cs.uni-kl.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Property-based Testing
4 participants