tests: Add basic tests for menu plugin
This checks basic features of kas menu, some option selection, yaml including, rebuilding and target selection. The UI is operated by mocking smack's GridFormHelp.runOnce and some result evaluation functions. Injecting keys from the keyboard was not easily possibly (if at all), thus this approach. The menu rendering is not shown due to pytest. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
		
							
								
								
									
										3
									
								
								tests/test_menu/oe-init-build-env
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										3
									
								
								tests/test_menu/oe-init-build-env
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,3 @@
 | 
			
		||||
#!/bin/sh
 | 
			
		||||
 | 
			
		||||
export PATH=$(pwd):$PATH
 | 
			
		||||
		Reference in New Issue
	
	Block a user