Commit graph

36 commits

Author SHA1 Message Date
Greg
9763016567 Removed failing experimental "stress" test 2016-12-02 16:34:44 -08:00
John Lewin
0cabc4af74 Modify ClickByName automation helper to throw if not found 2016-12-01 13:25:17 -08:00
John Lewin
6dc9d6ae2c Revise failing RaftEnabledPassedToSliceEngine test
- Add Wait calls after clicks
- After slicing, wait for expected result, up to 10 seconds
- Use utility functions for parsing .ini files
- Refactor AddAdSelectPrinter - remove unused variables, add Waits
2016-11-04 10:23:29 -07:00
John Lewin
362b269dff Use single string for control names 2016-11-03 08:46:08 -07:00
John Lewin
56ef92ab91 Collapse PrepForTestRun(mode) into new CloseSignInAndPrinterSelect() 2016-10-26 09:03:46 -07:00
John Lewin
b54b73db7f Ensure spawned emulator process is always killed via using/Dispose
- LaunchAndConnectToPrinterEmulator -> TestRunner extension method
2016-10-26 07:30:29 -07:00
John Lewin
c72c8d8fc6 Revise Agg automation
- Remove per test classes
- Migrate RunInApplicationDomain attributes to TextFixture
- Convert from Action<AutomationRunner> to AutomationTest delegate
- Convert testRunner.AddTestResult to Assert.IsTrue
- Remove testRunner.AllTestPassed(n) - use Asserts
- Add return Task.FromResult(0) for non-async test method bodies
- Upgrade NUnit.ApplicationDomain to v10
2016-10-25 07:38:48 -07:00
John Lewin
c1a445270e Realistic test timeout values 2016-10-19 12:26:47 -07:00
John Lewin
4d3f5d2521 Move CloseMatterControl responsiblity outside of TestMethod
- Behavior is now invoked in parent RunTest call
2016-10-19 12:06:31 -07:00
John Lewin
28699c9197 Remove defaultTestImages parameter
- Leave as null, fall back to default on null
2016-10-19 11:49:52 -07:00
John Lewin
de2535715d Fix compile error 2016-10-19 11:18:31 -07:00
John Lewin
e216457ef5 Remove excess blocks 2016-10-19 11:10:30 -07:00
John Lewin
8f8d0e5b30 Consolidate AutomationTesterHarness into AutomationRunner
- Remove AutomationRunner construction from test bodies
- Pass AutomationRunner into test method
2016-10-19 07:44:09 -07:00
John Lewin
18163f7cae Ensure spawned process is killed along all codepaths
- No guarantee that all test method code will run
2016-10-18 07:54:10 -07:00
John Lewin
f53f8f2a1b Convert disabled tests to FixNeeded category 2016-10-04 18:49:36 -07:00
John Lewin
376a86e006 Adjust ClearingCheckBoxClearsUserOverride expected pass count
- Fixes failing automation test
2016-10-04 18:17:51 -07:00
John Lewin
29fadccacc Emulator tests must shutdown spawned process 2016-10-04 12:28:42 -07:00
Lars Brubaker
17af0bd27f Getting old tests to pass 2016-09-23 13:35:21 -07:00
Lars Brubaker
c3d96b6601 Working on Queue done button working test (+2 squashed commit)
Test that MatterControl vanilla actually stars up
Finished the resume print test
Set backup to 0
Created a SwitchToAdvancedSettings function
2016-09-22 12:35:34 -07:00
John Lewin
0ac3ac311d Switch to RequiresSTA replacement attribute
- Add SetCompatibleWorkingDirectory to consistently change working directory
2016-09-21 15:34:53 -07:00
Lars Brubaker
c113aba7d9 Making test passed take a count 2016-09-19 17:13:11 -07:00
Lars Brubaker
cb3d518d35 Made the emulator parse commands better (temps)
Made LaunchAndConnectToPrinterEmulator
Working on pause on layer test
Updated version to 1.6
2016-09-19 14:47:00 -07:00
Lars Brubaker
552f44fef1 Fixing tests 2016-09-14 14:09:57 -07:00
Lars Brubaker
d93ae17eca Fixing tests 2016-09-13 11:12:13 -07:00
Lars Brubaker
be1c5eaddf Made delete printer a function inside of MatterControl utilities
Re-factoring
2016-09-08 14:20:39 -07:00
Lars Brubaker
cd27388ad5 Test that printers delete on guest profile 2016-09-07 17:00:17 -07:00
Lars Brubaker
7981513b6e Adding in the ability to turn on and off thin line code
Sorted some settings lists
Put in minimum thin line width option
Clean thin line output
2016-08-26 12:13:39 -07:00
Lars Brubaker
98c114f79b Got the check and uncheck of reload ui settings to work
Wrote a test
Added heat_extruder_before_homing
2016-08-25 17:43:30 -07:00
Lars Brubaker
d18c8cfcb3 New test for has_fan 2016-08-24 15:53:46 -07:00
Lars Brubaker
ccdb90cb7f A few more tests passing. 2016-08-02 09:47:26 -07:00
Lars Brubaker
dc22e6b788 Getting more tests to pass
Down to 7 failing tests.
2016-08-01 17:21:31 -07:00
Lars Brubaker
d8138ac51e Making a function to prep MatterControl prior to runing tests.
Made automation tests call it.
2016-07-29 16:44:00 -07:00
John Lewin
c255e46032 Move automation tests to "MatterControl.UI.Automation" category
- Change namespaces to MatterHackers.MatterControl.Tests.Automation
 - Cleanup using statements
2016-05-11 09:16:03 -07:00
Greg
b18129c379 Created tests for File Menu Items 2016-03-04 14:36:49 -08:00
Greg
f08680e9c9 Added test to make sure Bed Temperature options are not visible while "Has Heated Bed" checkbox is unchecked 2016-03-03 17:57:14 -08:00
Greg
1e4c1cda53 Added automated test to ensure that setting values are being passed to MatterSlice with the correct values. Also added a stress test in slice settings. 2016-03-03 16:57:43 -08:00