<commit_before>#language: en

Feature: Bank Transfer
	As a user, I want to transfer money from one account to another account.
	After transfer, the money of original account and destination account should
	changed consistently.
	
	Scenario: Success transfer
		* Create an account '0001' as origin account
		* Save 100 to account '0001'
		* Create an account '0002' as destination account
		* Transfer 30 from account '0001' to '0002'
		* The account '0001' should have 70
		* The account '0002' should have 30
	 
	Scenario: Failed to transfer when account is no enough money
		* Create an account '0001' as origin account
		* Save 100 to account '0001'
		* Create an account '0002' as destination account
		* Transfer 120 from account '0001' to '0002'
		* The account '0001' should have 100
		* The account '0002' should have 0
		* The transfer result should be 'fail'
	 	<commit_msg>add background, and using given/when/then to replace * in steps<commit_after>#language: en

Feature: Bank Transfer
	As a user, I want to transfer money from one account to another account.
	After transfer, the money of original account and destination account should
	changed consistently.
	
	Background:
		* Create an account '0001' as origin account
		* Save 100 to account '0001'
		* Create an account '0002' as destination account
	
	Scenario: Success transfer
		When Transfer 30 from account '0001' to '0002'
		Then The account '0001' should have 70
		And The account '0002' should have 30
	 
	Scenario: Failed to transfer when account is no enough money
		When Transfer 120 from account '0001' to '0002'
		Then The transfer result should be 'fail'
		And The account '0001' should have 100
		And The account '0002' should have 0
	 	
{'fraction_non_alphanumeric': 0.05752469494479954, 'fraction_numerical': 0.07844276583381755, 'mean_word_length': 3.8920454545454546, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5323089', 'n_tokens_mistral': 594, 'n_tokens_neox': 444, 'n_words': 251}