@@ -914,6 +914,37 @@ export const UserConfigForm: React.FC = () => {
914914 </ div >
915915 ) }
916916 />
917+ < FormField
918+ control = { form . control }
919+ name = "runtime.reactive_tests"
920+ render = { ( { field } ) => (
921+ < div className = "flex flex-col gap-y-1" >
922+ < FormItem className = { formItemClasses } >
923+ < FormLabel className = "font-normal" >
924+ Autorun Unit Tests
925+ </ FormLabel >
926+ < FormControl >
927+ < Checkbox
928+ data-testid = "reactive-test-checkbox"
929+ checked = { field . value === true }
930+ onCheckedChange = { field . onChange }
931+ />
932+ </ FormControl >
933+ </ FormItem >
934+ < IsOverridden
935+ userConfig = { config }
936+ name = "runtime.reactive_tests"
937+ />
938+ < FormMessage />
939+ < FormDescription >
940+ Enable reactive pytest tests in notebook. When a cell
941+ contains only test functions (test_*) and classes (Test_*),
942+ marimo will automatically run them with pytest (requires
943+ notebook restart).
944+ </ FormDescription > { " " }
945+ </ div >
946+ ) }
947+ />
917948
918949 < FormDescription >
919950 Learn more in the{ " " }
@@ -1324,31 +1355,6 @@ export const UserConfigForm: React.FC = () => {
13241355 </ div >
13251356 ) }
13261357 />
1327- < FormField
1328- control = { form . control }
1329- name = "experimental.reactive_tests"
1330- render = { ( { field } ) => (
1331- < div className = "flex flex-col gap-y-1" >
1332- < FormItem className = { formItemClasses } >
1333- < FormLabel className = "font-normal" >
1334- Autorun Unit Tests
1335- </ FormLabel >
1336- < FormControl >
1337- < Checkbox
1338- data-testid = "reactive-test-checkbox"
1339- checked = { field . value === true }
1340- onCheckedChange = { field . onChange }
1341- />
1342- </ FormControl >
1343- </ FormItem >
1344- < FormDescription >
1345- Enable experimental reactive pytest tests in notebook. When
1346- a cell contains only test functions and classes, marimo will
1347- automatically run relevant tests.
1348- </ FormDescription > { " " }
1349- </ div >
1350- ) }
1351- />
13521358 < FormField
13531359 control = { form . control }
13541360 name = "experimental.toplevel_defs"
0 commit comments